Interface EbsVolumeConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EbsVolumeConfiguration.Builder,EbsVolumeConfiguration>,SdkBuilder<EbsVolumeConfiguration.Builder,EbsVolumeConfiguration>,SdkPojo
- Enclosing class:
- EbsVolumeConfiguration
public static interface EbsVolumeConfiguration.Builder extends SdkPojo, CopyableBuilder<EbsVolumeConfiguration.Builder,EbsVolumeConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EbsVolumeConfiguration.BuilderattachmentState(String attachmentState)The Amazon Elastic Block Store attachment state.default EbsVolumeConfiguration.Builderperformance(Consumer<BlockStoragePerformanceConfiguration.Builder> performance)The Amazon Elastic Block Store performance configuration.EbsVolumeConfiguration.Builderperformance(BlockStoragePerformanceConfiguration performance)The Amazon Elastic Block Store performance configuration.default EbsVolumeConfiguration.Builderstorage(Consumer<StorageConfiguration.Builder> storage)The disk storage of the Amazon Elastic Block Store volume.EbsVolumeConfiguration.Builderstorage(StorageConfiguration storage)The disk storage of the Amazon Elastic Block Store volume.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
storage
EbsVolumeConfiguration.Builder storage(StorageConfiguration storage)
The disk storage of the Amazon Elastic Block Store volume.
- Parameters:
storage- The disk storage of the Amazon Elastic Block Store volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storage
default EbsVolumeConfiguration.Builder storage(Consumer<StorageConfiguration.Builder> storage)
The disk storage of the Amazon Elastic Block Store volume.
This is a convenience method that creates an instance of theStorageConfiguration.Builderavoiding the need to create one manually viaStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorage(StorageConfiguration).- Parameters:
storage- a consumer that will call methods onStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
storage(StorageConfiguration)
-
performance
EbsVolumeConfiguration.Builder performance(BlockStoragePerformanceConfiguration performance)
The Amazon Elastic Block Store performance configuration.
- Parameters:
performance- The Amazon Elastic Block Store performance configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performance
default EbsVolumeConfiguration.Builder performance(Consumer<BlockStoragePerformanceConfiguration.Builder> performance)
The Amazon Elastic Block Store performance configuration.
This is a convenience method that creates an instance of theBlockStoragePerformanceConfiguration.Builderavoiding the need to create one manually viaBlockStoragePerformanceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperformance(BlockStoragePerformanceConfiguration).- Parameters:
performance- a consumer that will call methods onBlockStoragePerformanceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
performance(BlockStoragePerformanceConfiguration)
-
attachmentState
EbsVolumeConfiguration.Builder attachmentState(String attachmentState)
The Amazon Elastic Block Store attachment state.
- Parameters:
attachmentState- The Amazon Elastic Block Store attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-