Interface DeploymentCanarySettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentCanarySettings.Builder,
,DeploymentCanarySettings> SdkBuilder<DeploymentCanarySettings.Builder,
,DeploymentCanarySettings> SdkPojo
- Enclosing class:
DeploymentCanarySettings
public static interface DeploymentCanarySettings.Builder
extends SdkPojo, CopyableBuilder<DeploymentCanarySettings.Builder,DeploymentCanarySettings>
-
Method Summary
Modifier and TypeMethodDescriptionpercentTraffic
(Double percentTraffic) The percentage (0.0-100.0) of traffic routed to the canary deployment.stageVariableOverrides
(Map<String, String> stageVariableOverrides) A stage variable overrides used for the canary release deployment.useStageCache
(Boolean useStageCache) A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
percentTraffic
The percentage (0.0-100.0) of traffic routed to the canary deployment.
- Parameters:
percentTraffic
- The percentage (0.0-100.0) of traffic routed to the canary deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageVariableOverrides
A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
- Parameters:
stageVariableOverrides
- A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useStageCache
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- Parameters:
useStageCache
- A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-