Interface StartTopicReassignmentRequest.Builder

  • Method Details

    • clientToken

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request with the same client token within 24 hours, the API returns the original response without creating a duplicate operation.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request with the same client token within 24 hours, the API returns the original response without creating a duplicate operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterArn

      The Amazon Resource Name (ARN) of the cluster.

      Parameters:
      clusterArn - The Amazon Resource Name (ARN) of the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetInstanceType

      StartTopicReassignmentRequest.Builder targetInstanceType(String targetInstanceType)

      Instance type of the target brokers. Must exist in the cluster. Use Express instance type (e.g., express.m7g.large) for Standard-to-Express migration. Use Standard instance type (e.g., kafka.m7g.large) to move topics back to Standard.

      Parameters:
      targetInstanceType - Instance type of the target brokers. Must exist in the cluster. Use Express instance type (e.g., express.m7g.large) for Standard-to-Express migration. Use Standard instance type (e.g., kafka.m7g.large) to move topics back to Standard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicsToExclude

      StartTopicReassignmentRequest.Builder topicsToExclude(Collection<String> topicsToExclude)

      Regex patterns for topics to exclude from reassignment. Evaluated after include patterns.

      Parameters:
      topicsToExclude - Regex patterns for topics to exclude from reassignment. Evaluated after include patterns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicsToExclude

      StartTopicReassignmentRequest.Builder topicsToExclude(String... topicsToExclude)

      Regex patterns for topics to exclude from reassignment. Evaluated after include patterns.

      Parameters:
      topicsToExclude - Regex patterns for topics to exclude from reassignment. Evaluated after include patterns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicsToInclude

      StartTopicReassignmentRequest.Builder topicsToInclude(Collection<String> topicsToInclude)

      Regex patterns for topics to reassign. Use ['.*'] for all topics. Max 10 patterns.

      Parameters:
      topicsToInclude - Regex patterns for topics to reassign. Use ['.*'] for all topics. Max 10 patterns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicsToInclude

      StartTopicReassignmentRequest.Builder topicsToInclude(String... topicsToInclude)

      Regex patterns for topics to reassign. Use ['.*'] for all topics. Max 10 patterns.

      Parameters:
      topicsToInclude - Regex patterns for topics to reassign. Use ['.*'] for all topics. Max 10 patterns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      StartTopicReassignmentRequest.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.