Interface UpdateBrokerStorageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateBrokerStorageRequest.Builder,UpdateBrokerStorageRequest>
,KafkaRequest.Builder
,SdkBuilder<UpdateBrokerStorageRequest.Builder,UpdateBrokerStorageRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateBrokerStorageRequest
public static interface UpdateBrokerStorageRequest.Builder extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<UpdateBrokerStorageRequest.Builder,UpdateBrokerStorageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateBrokerStorageRequest.Builder
clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.UpdateBrokerStorageRequest.Builder
currentVersion(String currentVersion)
The version of cluster to update from.UpdateBrokerStorageRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateBrokerStorageRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateBrokerStorageRequest.Builder
targetBrokerEBSVolumeInfo(Collection<BrokerEBSVolumeInfo> targetBrokerEBSVolumeInfo)
Describes the target volume size and the ID of the broker to apply the update to.UpdateBrokerStorageRequest.Builder
targetBrokerEBSVolumeInfo(Consumer<BrokerEBSVolumeInfo.Builder>... targetBrokerEBSVolumeInfo)
Describes the target volume size and the ID of the broker to apply the update to.UpdateBrokerStorageRequest.Builder
targetBrokerEBSVolumeInfo(BrokerEBSVolumeInfo... targetBrokerEBSVolumeInfo)
Describes the target volume size and the ID of the broker to apply the update to.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clusterArn
UpdateBrokerStorageRequest.Builder clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Parameters:
clusterArn
-The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
UpdateBrokerStorageRequest.Builder currentVersion(String currentVersion)
The version of cluster to update from. A successful operation will then generate a new version.
- Parameters:
currentVersion
-The version of cluster to update from. A successful operation will then generate a new version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetBrokerEBSVolumeInfo
UpdateBrokerStorageRequest.Builder targetBrokerEBSVolumeInfo(Collection<BrokerEBSVolumeInfo> targetBrokerEBSVolumeInfo)
Describes the target volume size and the ID of the broker to apply the update to.
- Parameters:
targetBrokerEBSVolumeInfo
-Describes the target volume size and the ID of the broker to apply the update to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetBrokerEBSVolumeInfo
UpdateBrokerStorageRequest.Builder targetBrokerEBSVolumeInfo(BrokerEBSVolumeInfo... targetBrokerEBSVolumeInfo)
Describes the target volume size and the ID of the broker to apply the update to.
- Parameters:
targetBrokerEBSVolumeInfo
-Describes the target volume size and the ID of the broker to apply the update to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetBrokerEBSVolumeInfo
UpdateBrokerStorageRequest.Builder targetBrokerEBSVolumeInfo(Consumer<BrokerEBSVolumeInfo.Builder>... targetBrokerEBSVolumeInfo)
Describes the target volume size and the ID of the broker to apply the update to.
This is a convenience method that creates an instance of theBrokerEBSVolumeInfo.Builder
avoiding the need to create one manually viaBrokerEBSVolumeInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#targetBrokerEBSVolumeInfo(List
.) - Parameters:
targetBrokerEBSVolumeInfo
- a consumer that will call methods onBrokerEBSVolumeInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targetBrokerEBSVolumeInfo(java.util.Collection
)
-
overrideConfiguration
UpdateBrokerStorageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateBrokerStorageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-