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 Details

    • percentTraffic

      DeploymentCanarySettings.Builder percentTraffic(Double 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

      DeploymentCanarySettings.Builder stageVariableOverrides(Map<String,String> 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

      DeploymentCanarySettings.Builder useStageCache(Boolean 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.