Interface GetFreeTierUsageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetFreeTierUsageRequest.Builder,,GetFreeTierUsageRequest> FreeTierRequest.Builder,SdkBuilder<GetFreeTierUsageRequest.Builder,,GetFreeTierUsageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetFreeTierUsageRequest
public static interface GetFreeTierUsageRequest.Builder
extends FreeTierRequest.Builder, SdkPojo, CopyableBuilder<GetFreeTierUsageRequest.Builder,GetFreeTierUsageRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetFreeTierUsageRequest.Builderfilter(Consumer<Expression.Builder> filter) An expression that specifies the conditions that you want eachFreeTierUsageobject to meet.filter(Expression filter) An expression that specifies the conditions that you want eachFreeTierUsageobject to meet.maxResults(Integer maxResults) The maximum number of results to return in the response.The pagination token that indicates the next set of results to retrieve.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.freetier.model.FreeTierRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filter
An expression that specifies the conditions that you want each
FreeTierUsageobject to meet.- Parameters:
filter- An expression that specifies the conditions that you want eachFreeTierUsageobject to meet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
An expression that specifies the conditions that you want each
This is a convenience method that creates an instance of theFreeTierUsageobject to meet.Expression.Builderavoiding the need to create one manually viaExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(Expression).- Parameters:
filter- a consumer that will call methods onExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return in the response.
MaxResultsmeans that there can be up to the specified number of values, but there might be fewer results based on your filters.- Parameters:
maxResults- The maximum number of results to return in the response.MaxResultsmeans that there can be up to the specified number of values, but there might be fewer results based on your filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetFreeTierUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetFreeTierUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-