Interface GetAnomalySubscriptionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAnomalySubscriptionsResponse.Builder,GetAnomalySubscriptionsResponse>,CostExplorerResponse.Builder,SdkBuilder<GetAnomalySubscriptionsResponse.Builder,GetAnomalySubscriptionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAnomalySubscriptionsResponse
public static interface GetAnomalySubscriptionsResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetAnomalySubscriptionsResponse.Builder,GetAnomalySubscriptionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetAnomalySubscriptionsResponse.BuilderanomalySubscriptions(Collection<AnomalySubscription> anomalySubscriptions)A list of cost anomaly subscriptions that includes the detailed metadata for each one.GetAnomalySubscriptionsResponse.BuilderanomalySubscriptions(Consumer<AnomalySubscription.Builder>... anomalySubscriptions)A list of cost anomaly subscriptions that includes the detailed metadata for each one.GetAnomalySubscriptionsResponse.BuilderanomalySubscriptions(AnomalySubscription... anomalySubscriptions)A list of cost anomaly subscriptions that includes the detailed metadata for each one.GetAnomalySubscriptionsResponse.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
-
anomalySubscriptions
GetAnomalySubscriptionsResponse.Builder anomalySubscriptions(Collection<AnomalySubscription> anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
- Parameters:
anomalySubscriptions- A list of cost anomaly subscriptions that includes the detailed metadata for each one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalySubscriptions
GetAnomalySubscriptionsResponse.Builder anomalySubscriptions(AnomalySubscription... anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
- Parameters:
anomalySubscriptions- A list of cost anomaly subscriptions that includes the detailed metadata for each one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalySubscriptions
GetAnomalySubscriptionsResponse.Builder anomalySubscriptions(Consumer<AnomalySubscription.Builder>... anomalySubscriptions)
A list of cost anomaly subscriptions that includes the detailed metadata for each one.
This is a convenience method that creates an instance of theAnomalySubscription.Builderavoiding the need to create one manually viaAnomalySubscription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#anomalySubscriptions(List.) - Parameters:
anomalySubscriptions- a consumer that will call methods onAnomalySubscription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#anomalySubscriptions(java.util.Collection)
-
nextPageToken
GetAnomalySubscriptionsResponse.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.
-
-