Interface GetAttributeValuesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAttributeValuesResponse.Builder,,GetAttributeValuesResponse> PricingResponse.Builder,SdkBuilder<GetAttributeValuesResponse.Builder,,GetAttributeValuesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAttributeValuesResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.pricing.model.PricingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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 HDDandProvisioned IOPSare two available values for theAmazonEC2volumeType.- Parameters:
attributeValues- The list of values for an attribute. For example,Throughput Optimized HDDandProvisioned IOPSare two available values for theAmazonEC2volumeType.- 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 HDDandProvisioned IOPSare two available values for theAmazonEC2volumeType.- Parameters:
attributeValues- The list of values for an attribute. For example,Throughput Optimized HDDandProvisioned IOPSare two available values for theAmazonEC2volumeType.- 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 HDDandProvisioned IOPSare two available values for theAmazonEC2volumeType.AttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,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.
-