Interface DeploymentConfig.Builder

    • Method Detail

      • blueGreenUpdatePolicy

        DeploymentConfig.Builder blueGreenUpdatePolicy​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • rollingUpdatePolicy

        DeploymentConfig.Builder rollingUpdatePolicy​(RollingUpdatePolicy rollingUpdatePolicy)

        Specifies a rolling deployment strategy for updating a SageMaker endpoint.

        Parameters:
        rollingUpdatePolicy - Specifies a rolling deployment strategy for updating a SageMaker endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoRollbackConfiguration

        DeploymentConfig.Builder autoRollbackConfiguration​(AutoRollbackConfig autoRollbackConfiguration)

        Automatic rollback configuration for handling endpoint deployment failures and recovery.

        Parameters:
        autoRollbackConfiguration - Automatic rollback configuration for handling endpoint deployment failures and recovery.
        Returns:
        Returns a reference to this object so that method calls can be chained together.