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
Modifier and TypeMethodDescriptionanomalyMonitors(Collection<AnomalyMonitor> anomalyMonitors) A list of cost anomaly monitors that includes the detailed metadata for each monitor.anomalyMonitors(Consumer<AnomalyMonitor.Builder>... anomalyMonitors) A list of cost anomaly monitors that includes the detailed metadata for each monitor.anomalyMonitors(AnomalyMonitor... anomalyMonitors) A list of cost anomaly monitors that includes the detailed metadata for each monitor.nextPageToken(String nextPageToken) The token to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 toanomalyMonitors(List<AnomalyMonitor>).- 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:
-
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.
-