Interface DeploymentConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentConfig.Builder,,DeploymentConfig> SdkBuilder<DeploymentConfig.Builder,,DeploymentConfig> SdkPojo
- Enclosing class:
DeploymentConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeploymentConfig.BuilderautoRollbackConfiguration(Consumer<AutoRollbackConfig.Builder> autoRollbackConfiguration) Automatic rollback configuration for handling endpoint deployment failures and recovery.autoRollbackConfiguration(AutoRollbackConfig autoRollbackConfiguration) Automatic rollback configuration for handling endpoint deployment failures and recovery.default DeploymentConfig.BuilderblueGreenUpdatePolicy(Consumer<BlueGreenUpdatePolicy.Builder> blueGreenUpdatePolicy) Update policy for a blue/green deployment.blueGreenUpdatePolicy(BlueGreenUpdatePolicy blueGreenUpdatePolicy) Update policy for a blue/green deployment.default DeploymentConfig.BuilderrollingUpdatePolicy(Consumer<RollingUpdatePolicy.Builder> rollingUpdatePolicy) Specifies a rolling deployment strategy for updating a SageMaker endpoint.rollingUpdatePolicy(RollingUpdatePolicy rollingUpdatePolicy) Specifies a rolling deployment strategy for updating a SageMaker endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.Builderavoiding the need to create one manually viaBlueGreenUpdatePolicy.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaRollingUpdatePolicy.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaAutoRollbackConfig.builder().When the
Consumercompletes,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:
-