Class BlueGreenUpdatePolicy

    • Method Detail

      • trafficRoutingConfiguration

        public final TrafficRoutingConfig trafficRoutingConfiguration()

        Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.

        Returns:
        Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.
      • terminationWaitInSeconds

        public final Integer terminationWaitInSeconds()

        Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.

        Returns:
        Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.
      • maximumExecutionTimeoutInSeconds

        public final Integer maximumExecutionTimeoutInSeconds()

        Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.

        Returns:
        Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)