Interface EBSStorageInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EBSStorageInfo.Builder,
,EBSStorageInfo> SdkBuilder<EBSStorageInfo.Builder,
,EBSStorageInfo> SdkPojo
- Enclosing class:
EBSStorageInfo
public static interface EBSStorageInfo.Builder
extends SdkPojo, CopyableBuilder<EBSStorageInfo.Builder,EBSStorageInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EBSStorageInfo.Builder
provisionedThroughput
(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) EBS volume provisioned throughput information.provisionedThroughput
(ProvisionedThroughput provisionedThroughput) EBS volume provisioned throughput information.volumeSize
(Integer volumeSize) The size in GiB of the EBS volume for the data drive on each broker node.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, sdkFields
-
Method Details
-
provisionedThroughput
EBS volume provisioned throughput information.
- Parameters:
provisionedThroughput
-EBS volume provisioned throughput information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
default EBSStorageInfo.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) EBS volume provisioned throughput information.
This is a convenience method that creates an instance of theProvisionedThroughput.Builder
avoiding the need to create one manually viaProvisionedThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedThroughput(ProvisionedThroughput)
.- Parameters:
provisionedThroughput
- a consumer that will call methods onProvisionedThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeSize
The size in GiB of the EBS volume for the data drive on each broker node.
- Parameters:
volumeSize
-The size in GiB of the EBS volume for the data drive on each broker node.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-