Interface UpdateTopicRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTopicRequest.Builder,,UpdateTopicRequest> KafkaRequest.Builder,SdkBuilder<UpdateTopicRequest.Builder,,UpdateTopicRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateTopicRequest
@Mutable
@NotThreadSafe
public static interface UpdateTopicRequest.Builder
extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<UpdateTopicRequest.Builder,UpdateTopicRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.The new topic configurations encoded as a Base64 string.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partitionCount(Integer partitionCount) The new total number of partitions for the topic.The name of the topic to update configuration for.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, sdkFieldNameToField, 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.
-
topicName
The name of the topic to update configuration for.
- Parameters:
topicName-The name of the topic to update configuration for.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configs
The new topic configurations encoded as a Base64 string.
- Parameters:
configs-The new topic configurations encoded as a Base64 string.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionCount
The new total number of partitions for the topic.
- Parameters:
partitionCount-The new total number of partitions for the topic.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateTopicRequest.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
UpdateTopicRequest.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.
-