Interface GetAttributeValuesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAttributeValuesResponse.Builder,
,GetAttributeValuesResponse> PricingResponse.Builder
,SdkBuilder<GetAttributeValuesResponse.Builder,
,GetAttributeValuesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAttributeValuesResponse
@Mutable
@NotThreadSafe
public static interface GetAttributeValuesResponse.Builder
extends PricingResponse.Builder, SdkPojo, CopyableBuilder<GetAttributeValuesResponse.Builder,GetAttributeValuesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributeValues
(Collection<AttributeValue> attributeValues) The list of values for an attribute.attributeValues
(Consumer<AttributeValue.Builder>... attributeValues) The list of values for an attribute.attributeValues
(AttributeValue... attributeValues) The list of values for an attribute.The pagination token that indicates the next set of results to retrieve.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pricing.model.PricingResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
attributeValues
The list of values for an attribute. For example,
Throughput Optimized HDD
andProvisioned IOPS
are two available values for theAmazonEC2
volumeType
.- Parameters:
attributeValues
- The list of values for an attribute. For example,Throughput Optimized HDD
andProvisioned IOPS
are two available values for theAmazonEC2
volumeType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
The list of values for an attribute. For example,
Throughput Optimized HDD
andProvisioned IOPS
are two available values for theAmazonEC2
volumeType
.- Parameters:
attributeValues
- The list of values for an attribute. For example,Throughput Optimized HDD
andProvisioned IOPS
are two available values for theAmazonEC2
volumeType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValues
GetAttributeValuesResponse.Builder attributeValues(Consumer<AttributeValue.Builder>... attributeValues) The list of values for an attribute. For example,
This is a convenience method that creates an instance of theThroughput Optimized HDD
andProvisioned IOPS
are two available values for theAmazonEC2
volumeType
.AttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeValues(List<AttributeValue>)
.- Parameters:
attributeValues
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-