Interface GetAnomalyMonitorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAnomalyMonitorsResponse.Builder,GetAnomalyMonitorsResponse>,CostExplorerResponse.Builder,SdkBuilder<GetAnomalyMonitorsResponse.Builder,GetAnomalyMonitorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAnomalyMonitorsResponse
public static interface GetAnomalyMonitorsResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetAnomalyMonitorsResponse.Builder,GetAnomalyMonitorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetAnomalyMonitorsResponse.BuilderanomalyMonitors(Collection<AnomalyMonitor> anomalyMonitors)A list of cost anomaly monitors that includes the detailed metadata for each monitor.GetAnomalyMonitorsResponse.BuilderanomalyMonitors(Consumer<AnomalyMonitor.Builder>... anomalyMonitors)A list of cost anomaly monitors that includes the detailed metadata for each monitor.GetAnomalyMonitorsResponse.BuilderanomalyMonitors(AnomalyMonitor... anomalyMonitors)A list of cost anomaly monitors that includes the detailed metadata for each monitor.GetAnomalyMonitorsResponse.BuildernextPageToken(String nextPageToken)The token to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
anomalyMonitors
GetAnomalyMonitorsResponse.Builder anomalyMonitors(Collection<AnomalyMonitor> anomalyMonitors)
A list of cost anomaly monitors that includes the detailed metadata for each monitor.
- Parameters:
anomalyMonitors- A list of cost anomaly monitors that includes the detailed metadata for each monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyMonitors
GetAnomalyMonitorsResponse.Builder anomalyMonitors(AnomalyMonitor... anomalyMonitors)
A list of cost anomaly monitors that includes the detailed metadata for each monitor.
- Parameters:
anomalyMonitors- A list of cost anomaly monitors that includes the detailed metadata for each monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyMonitors
GetAnomalyMonitorsResponse.Builder anomalyMonitors(Consumer<AnomalyMonitor.Builder>... anomalyMonitors)
A list of cost anomaly monitors that includes the detailed metadata for each monitor.
This is a convenience method that creates an instance of theAnomalyMonitor.Builderavoiding the need to create one manually viaAnomalyMonitor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#anomalyMonitors(List.) - Parameters:
anomalyMonitors- a consumer that will call methods onAnomalyMonitor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#anomalyMonitors(java.util.Collection)
-
nextPageToken
GetAnomalyMonitorsResponse.Builder nextPageToken(String nextPageToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
- Parameters:
nextPageToken- The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-