Interface GetAttributeValuesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetAttributeValuesRequest.Builder,
,GetAttributeValuesRequest> PricingRequest.Builder
,SdkBuilder<GetAttributeValuesRequest.Builder,
,GetAttributeValuesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetAttributeValuesRequest
public static interface GetAttributeValuesRequest.Builder
extends PricingRequest.Builder, SdkPojo, CopyableBuilder<GetAttributeValuesRequest.Builder,GetAttributeValuesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) The name of the attribute that you want to retrieve the values for, such asvolumeType
.maxResults
(Integer maxResults) The maximum number of results to return in response.The pagination token that indicates the next set of results that you want to retrieve.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceCode
(String serviceCode) The service code for the service whose attributes you want to retrieve.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pricing.model.PricingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceCode
The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use
AmazonEC2
.- Parameters:
serviceCode
- The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, useAmazonEC2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeName
The name of the attribute that you want to retrieve the values for, such as
volumeType
.- Parameters:
attributeName
- The name of the attribute that you want to retrieve the values for, such asvolumeType
.- 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 that you want to retrieve.
- Parameters:
nextToken
- The pagination token that indicates the next set of results that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in response.
- Parameters:
maxResults
- The maximum number of results to return in response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetAttributeValuesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetAttributeValuesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-