Interface EbsVolume.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EbsVolume.Builder,,EbsVolume> SdkBuilder<EbsVolume.Builder,,EbsVolume> SdkPojo
- Enclosing class:
EbsVolume
@Mutable
@NotThreadSafe
public static interface EbsVolume.Builder
extends SdkPojo, CopyableBuilder<EbsVolume.Builder,EbsVolume>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EbsVolume.Builderconfiguration(Consumer<EbsVolumeConfiguration.Builder> configuration) The configuration details of the EBS volume, including type, size, IOPS, and throughput.configuration(EbsVolumeConfiguration configuration) The configuration details of the EBS volume, including type, size, IOPS, and throughput.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
configuration
The configuration details of the EBS volume, including type, size, IOPS, and throughput.
- Parameters:
configuration- The configuration details of the EBS volume, including type, size, IOPS, and throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration details of the EBS volume, including type, size, IOPS, and throughput.
This is a convenience method that creates an instance of theEbsVolumeConfiguration.Builderavoiding the need to create one manually viaEbsVolumeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(EbsVolumeConfiguration).- Parameters:
configuration- a consumer that will call methods onEbsVolumeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-