Class DeploymentConfig

    • Method Detail

      • blueGreenUpdatePolicy

        public final BlueGreenUpdatePolicy blueGreenUpdatePolicy()

        Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.

        Returns:
        Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
      • rollingUpdatePolicy

        public final RollingUpdatePolicy rollingUpdatePolicy()

        Specifies a rolling deployment strategy for updating a SageMaker endpoint.

        Returns:
        Specifies a rolling deployment strategy for updating a SageMaker endpoint.
      • autoRollbackConfiguration

        public final AutoRollbackConfig autoRollbackConfiguration()

        Automatic rollback configuration for handling endpoint deployment failures and recovery.

        Returns:
        Automatic rollback configuration for handling endpoint deployment failures and recovery.
      • 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)