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 ofautoEnableIO
attribute.autoEnableIO
(AttributeBooleanValue autoEnableIO) The state ofautoEnableIO
attribute.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
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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 Details
-
autoEnableIO
The state of
autoEnableIO
attribute.- Parameters:
autoEnableIO
- The state ofautoEnableIO
attribute.- 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 theautoEnableIO
attribute.AttributeBooleanValue.Builder
avoiding the need to create one manually viaAttributeBooleanValue.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProductCode.builder()
.When the
Consumer
completes,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.
-