Interface TargetTrafficSplitEntry.Builder

  • Method Details

    • name

      The name of this traffic split variant.

      Parameters:
      name - The name of this traffic split variant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • weight

      The percentage of traffic to route to this variant.

      Parameters:
      weight - The percentage of traffic to route to this variant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetName

      TargetTrafficSplitEntry.Builder targetName(String targetName)

      The name of the target to route traffic to.

      Parameters:
      targetName - The name of the target to route traffic to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TargetTrafficSplitEntry.Builder description(String description)

      The description of this traffic split variant.

      Parameters:
      description - The description of this traffic split variant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      Key-value metadata associated with this traffic split variant.

      Parameters:
      metadata - Key-value metadata associated with this traffic split variant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.