Interface EbsVolumeConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EbsVolumeConfiguration.Builder,
,EbsVolumeConfiguration> SdkBuilder<EbsVolumeConfiguration.Builder,
,EbsVolumeConfiguration> SdkPojo
- Enclosing class:
EbsVolumeConfiguration
@Mutable
@NotThreadSafe
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.Builder
performance
(Consumer<BlockStoragePerformanceConfiguration.Builder> performance) The Amazon Elastic Block Store performance configuration.performance
(BlockStoragePerformanceConfiguration performance) The Amazon Elastic Block Store performance configuration.default EbsVolumeConfiguration.Builder
storage
(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
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 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.Builder
avoiding the need to create one manually viaStorageConfiguration.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaBlockStoragePerformanceConfiguration.builder()
.When the
Consumer
completes,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.
-