Interface BrokerEBSVolumeInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BrokerEBSVolumeInfo.Builder,
,BrokerEBSVolumeInfo> SdkBuilder<BrokerEBSVolumeInfo.Builder,
,BrokerEBSVolumeInfo> SdkPojo
- Enclosing class:
BrokerEBSVolumeInfo
public static interface BrokerEBSVolumeInfo.Builder
extends SdkPojo, CopyableBuilder<BrokerEBSVolumeInfo.Builder,BrokerEBSVolumeInfo>
-
Method Summary
Modifier and TypeMethodDescriptionkafkaBrokerNodeId
(String kafkaBrokerNodeId) The ID of the broker to update.default BrokerEBSVolumeInfo.Builder
provisionedThroughput
(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) EBS volume provisioned throughput information.provisionedThroughput
(ProvisionedThroughput provisionedThroughput) EBS volume provisioned throughput information.volumeSizeGB
(Integer volumeSizeGB) Size of the EBS volume to update.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
-
kafkaBrokerNodeId
The ID of the broker to update.
- Parameters:
kafkaBrokerNodeId
-The ID of the broker to update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 BrokerEBSVolumeInfo.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:
-
volumeSizeGB
Size of the EBS volume to update.
- Parameters:
volumeSizeGB
-Size of the EBS volume to update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-