Interface CanarySettings.Builder

  • Method Details

    • percentTraffic

      CanarySettings.Builder percentTraffic(Double percentTraffic)

      The percent (0-100) of traffic diverted to a canary deployment.

      Parameters:
      percentTraffic - The percent (0-100) of traffic diverted to a canary deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentId

      CanarySettings.Builder deploymentId(String deploymentId)

      The ID of the canary deployment.

      Parameters:
      deploymentId - The ID of the canary deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stageVariableOverrides

      CanarySettings.Builder stageVariableOverrides(Map<String,String> stageVariableOverrides)

      Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

      Parameters:
      stageVariableOverrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. 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

      CanarySettings.Builder useStageCache(Boolean useStageCache)

      A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

      Parameters:
      useStageCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
      Returns:
      Returns a reference to this object so that method calls can be chained together.