Interface DeploymentConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DeploymentConfig.Builder,DeploymentConfig>, SdkBuilder<DeploymentConfig.Builder,DeploymentConfig>, SdkPojo
Enclosing class:
DeploymentConfig

public static interface DeploymentConfig.Builder extends SdkPojo, CopyableBuilder<DeploymentConfig.Builder,DeploymentConfig>
  • Method Details

    • 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.
    • blueGreenUpdatePolicy

      default DeploymentConfig.Builder blueGreenUpdatePolicy(Consumer<BlueGreenUpdatePolicy.Builder> 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.

      This is a convenience method that creates an instance of the BlueGreenUpdatePolicy.Builder avoiding the need to create one manually via BlueGreenUpdatePolicy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to blueGreenUpdatePolicy(BlueGreenUpdatePolicy).

      Parameters:
      blueGreenUpdatePolicy - a consumer that will call methods on BlueGreenUpdatePolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • rollingUpdatePolicy

      default DeploymentConfig.Builder rollingUpdatePolicy(Consumer<RollingUpdatePolicy.Builder> rollingUpdatePolicy)

      Specifies a rolling deployment strategy for updating a SageMaker endpoint.

      This is a convenience method that creates an instance of the RollingUpdatePolicy.Builder avoiding the need to create one manually via RollingUpdatePolicy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rollingUpdatePolicy(RollingUpdatePolicy).

      Parameters:
      rollingUpdatePolicy - a consumer that will call methods on RollingUpdatePolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • autoRollbackConfiguration

      default DeploymentConfig.Builder autoRollbackConfiguration(Consumer<AutoRollbackConfig.Builder> autoRollbackConfiguration)

      Automatic rollback configuration for handling endpoint deployment failures and recovery.

      This is a convenience method that creates an instance of the AutoRollbackConfig.Builder avoiding the need to create one manually via AutoRollbackConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to autoRollbackConfiguration(AutoRollbackConfig).

      Parameters:
      autoRollbackConfiguration - a consumer that will call methods on AutoRollbackConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: