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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeploymentConfig.Builder
autoRollbackConfiguration(Consumer<AutoRollbackConfig.Builder> autoRollbackConfiguration)
Automatic rollback configuration for handling endpoint deployment failures and recovery.DeploymentConfig.Builder
autoRollbackConfiguration(AutoRollbackConfig autoRollbackConfiguration)
Automatic rollback configuration for handling endpoint deployment failures and recovery.default DeploymentConfig.Builder
blueGreenUpdatePolicy(Consumer<BlueGreenUpdatePolicy.Builder> blueGreenUpdatePolicy)
Update policy for a blue/green deployment.DeploymentConfig.Builder
blueGreenUpdatePolicy(BlueGreenUpdatePolicy blueGreenUpdatePolicy)
Update policy for a blue/green deployment.default DeploymentConfig.Builder
rollingUpdatePolicy(Consumer<RollingUpdatePolicy.Builder> rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker endpoint.DeploymentConfig.Builder
rollingUpdatePolicy(RollingUpdatePolicy rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
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 theBlueGreenUpdatePolicy.Builder
avoiding the need to create one manually viaBlueGreenUpdatePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toblueGreenUpdatePolicy(BlueGreenUpdatePolicy)
.- Parameters:
blueGreenUpdatePolicy
- a consumer that will call methods onBlueGreenUpdatePolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
blueGreenUpdatePolicy(BlueGreenUpdatePolicy)
-
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 theRollingUpdatePolicy.Builder
avoiding the need to create one manually viaRollingUpdatePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torollingUpdatePolicy(RollingUpdatePolicy)
.- Parameters:
rollingUpdatePolicy
- a consumer that will call methods onRollingUpdatePolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rollingUpdatePolicy(RollingUpdatePolicy)
-
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 theAutoRollbackConfig.Builder
avoiding the need to create one manually viaAutoRollbackConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoRollbackConfiguration(AutoRollbackConfig)
.- Parameters:
autoRollbackConfiguration
- a consumer that will call methods onAutoRollbackConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoRollbackConfiguration(AutoRollbackConfig)
-
-