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
Modifier and TypeMethodDescriptionattachmentState(String attachmentState) The Amazon Elastic Block Store attachment state.default EbsVolumeConfiguration.Builderperformance(Consumer<BlockStoragePerformanceConfiguration.Builder> performance) The Amazon Elastic Block Store performance configuration.performance(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.storage(StorageConfiguration storage) The disk storage of the Amazon Elastic Block Store volume.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, sdkFields
-
Method Details
-
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
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:
-
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:
-
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.
-