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