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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetAttributeValuesResponse.BuilderattributeValues(Collection<AttributeValue> attributeValues)The list of values for an attribute.GetAttributeValuesResponse.BuilderattributeValues(Consumer<AttributeValue.Builder>... attributeValues)The list of values for an attribute.GetAttributeValuesResponse.BuilderattributeValues(AttributeValue... attributeValues)The list of values for an attribute.GetAttributeValuesResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
attributeValues
GetAttributeValuesResponse.Builder attributeValues(Collection<AttributeValue> 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(AttributeValue... 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 to#attributeValues(List.) - 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:
#attributeValues(java.util.Collection)
-
nextToken
GetAttributeValuesResponse.Builder nextToken(String 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.
-
-