Interface TargetTrafficSplitEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetTrafficSplitEntry.Builder,,TargetTrafficSplitEntry> SdkBuilder<TargetTrafficSplitEntry.Builder,,TargetTrafficSplitEntry> SdkPojo
- Enclosing class:
TargetTrafficSplitEntry
@Mutable
@NotThreadSafe
public static interface TargetTrafficSplitEntry.Builder
extends SdkPojo, CopyableBuilder<TargetTrafficSplitEntry.Builder,TargetTrafficSplitEntry>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of this traffic split variant.Key-value metadata associated with this traffic split variant.The name of this traffic split variant.targetName(String targetName) The name of the target to route traffic to.The percentage of traffic to route to this variant.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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.
-