Interface EBSStorageInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EBSStorageInfo.Builder,,EBSStorageInfo> SdkBuilder<EBSStorageInfo.Builder,,EBSStorageInfo> SdkPojo
- Enclosing class:
EBSStorageInfo
@Mutable
@NotThreadSafe
public static interface EBSStorageInfo.Builder
extends SdkPojo, CopyableBuilder<EBSStorageInfo.Builder,EBSStorageInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EBSStorageInfo.BuilderprovisionedThroughput(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
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
-
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.Builderavoiding the need to create one manually viaProvisionedThroughput.builder().When the
Consumercompletes,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.
-