Interface CanaryConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CanaryConfiguration.Builder,,CanaryConfiguration> SdkBuilder<CanaryConfiguration.Builder,,CanaryConfiguration> SdkPojo
- Enclosing class:
CanaryConfiguration
@Mutable
@NotThreadSafe
public static interface CanaryConfiguration.Builder
extends SdkPojo, CopyableBuilder<CanaryConfiguration.Builder,CanaryConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncanaryBakeTimeInMinutes(Integer canaryBakeTimeInMinutes) The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision.canaryPercent(Double canaryPercent) The percentage of production traffic to shift to the new service revision during the canary phase.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
-
canaryPercent
The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are 0.1 to 100.0. The default value is 5.0.
- Parameters:
canaryPercent- The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are 0.1 to 100.0. The default value is 5.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canaryBakeTimeInMinutes
The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10.
- Parameters:
canaryBakeTimeInMinutes- The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-