Interface DescribeVolumeAttributeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeVolumeAttributeResponse.Builder,,DescribeVolumeAttributeResponse> Ec2Response.Builder,SdkBuilder<DescribeVolumeAttributeResponse.Builder,,DescribeVolumeAttributeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeVolumeAttributeResponse
public static interface DescribeVolumeAttributeResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVolumeAttributeResponse.Builder,DescribeVolumeAttributeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionautoEnableIO(Consumer<AttributeBooleanValue.Builder> autoEnableIO) The state ofautoEnableIOattribute.autoEnableIO(AttributeBooleanValue autoEnableIO) The state ofautoEnableIOattribute.productCodes(Collection<ProductCode> productCodes) A list of product codes.productCodes(Consumer<ProductCode.Builder>... productCodes) A list of product codes.productCodes(ProductCode... productCodes) A list of product codes.The ID of the volume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
autoEnableIO
The state of
autoEnableIOattribute.- Parameters:
autoEnableIO- The state ofautoEnableIOattribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoEnableIO
default DescribeVolumeAttributeResponse.Builder autoEnableIO(Consumer<AttributeBooleanValue.Builder> autoEnableIO) The state of
This is a convenience method that creates an instance of theautoEnableIOattribute.AttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoEnableIO(AttributeBooleanValue).- Parameters:
autoEnableIO- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productCodes
A list of product codes.
- Parameters:
productCodes- A list of product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
A list of product codes.
- Parameters:
productCodes- A list of product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
A list of product codes.
This is a convenience method that creates an instance of theProductCode.Builderavoiding the need to create one manually viaProductCode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproductCodes(List<ProductCode>).- Parameters:
productCodes- a consumer that will call methods onProductCode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeId
The ID of the volume.
- Parameters:
volumeId- The ID of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-