Class StageCanarySettings


  • public final class StageCanarySettings
    extends java.lang.Object
    • Method Detail

      • deploymentId

        public java.lang.String deploymentId()
        Returns:
        ID of the deployment that the canary points to.
      • percentTraffic

        public java.util.Optional<java.lang.Double> percentTraffic()
        Returns:
        Percent `0.0` - `100.0` of traffic to divert to the canary deployment.
      • stageVariableOverrides

        public java.util.Map<java.lang.String,​java.lang.String> stageVariableOverrides()
        Returns:
        Map of overridden stage `variables` (including new variables) for the canary deployment.
      • useStageCache

        public java.util.Optional<java.lang.Boolean> useStageCache()
        Returns:
        Whether the canary deployment uses the stage cache. Defaults to false.