Interface CreateTopicRequest.Builder

  • Method Details

    • clusterArn

      CreateTopicRequest.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.
    • topicName

      CreateTopicRequest.Builder topicName(String 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

      CreateTopicRequest.Builder partitionCount(Integer 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

      CreateTopicRequest.Builder replicationFactor(Integer 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.