Interface UpdateBrokerStorageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateBrokerStorageRequest.Builder,,UpdateBrokerStorageRequest> KafkaRequest.Builder,SdkBuilder<UpdateBrokerStorageRequest.Builder,,UpdateBrokerStorageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBrokerStorageRequest
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.currentVersion(String currentVersion) The version of cluster to update from.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetBrokerEBSVolumeInfo(Collection<BrokerEBSVolumeInfo> targetBrokerEBSVolumeInfo) Describes the target volume size and the ID of the broker to apply the update to.targetBrokerEBSVolumeInfo(Consumer<BrokerEBSVolumeInfo.Builder>... targetBrokerEBSVolumeInfo) Describes the target volume size and the ID of the broker to apply the update to.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.Builderavoiding the need to create one manually viaBrokerEBSVolumeInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetBrokerEBSVolumeInfo(List<BrokerEBSVolumeInfo>).- 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:
-
overrideConfiguration
UpdateBrokerStorageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateBrokerStorageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-