Interface RoutingConfigEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RoutingConfigEntry.Builder,,RoutingConfigEntry> SdkBuilder<RoutingConfigEntry.Builder,,RoutingConfigEntry> SdkPojo
- Enclosing class:
RoutingConfigEntry
@Mutable
@NotThreadSafe
public static interface RoutingConfigEntry.Builder
extends SdkPojo, CopyableBuilder<RoutingConfigEntry.Builder,RoutingConfigEntry>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId(String deploymentId) The ID of the deployment that receives the traffic.The percentage of traffic to route to the deployment.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
-
deploymentId
The ID of the deployment that receives the traffic.
- Parameters:
deploymentId- The ID of the deployment that receives the traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weight
The percentage of traffic to route to the deployment.
- Parameters:
weight- The percentage of traffic to route to the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-