Interface DeploymentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentConfiguration.Builder,
,DeploymentConfiguration> SdkBuilder<DeploymentConfiguration.Builder,
,DeploymentConfiguration> SdkPojo
- Enclosing class:
DeploymentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionautoRollbackConfiguration
(Collection<AlarmDetails> autoRollbackConfiguration) An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.autoRollbackConfiguration
(Consumer<AlarmDetails.Builder>... autoRollbackConfiguration) An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.autoRollbackConfiguration
(AlarmDetails... autoRollbackConfiguration) An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.default DeploymentConfiguration.Builder
rollingUpdatePolicy
(Consumer<RollingDeploymentPolicy.Builder> rollingUpdatePolicy) The policy that SageMaker uses when updating the AMI versions of the cluster.rollingUpdatePolicy
(RollingDeploymentPolicy rollingUpdatePolicy) The policy that SageMaker uses when updating the AMI versions of the cluster.waitIntervalInSeconds
(Integer waitIntervalInSeconds) The duration in seconds that SageMaker waits before updating more instances in the cluster.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 Details
-
rollingUpdatePolicy
The policy that SageMaker uses when updating the AMI versions of the cluster.
- Parameters:
rollingUpdatePolicy
- The policy that SageMaker uses when updating the AMI versions of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollingUpdatePolicy
default DeploymentConfiguration.Builder rollingUpdatePolicy(Consumer<RollingDeploymentPolicy.Builder> rollingUpdatePolicy) The policy that SageMaker uses when updating the AMI versions of the cluster.
This is a convenience method that creates an instance of theRollingDeploymentPolicy.Builder
avoiding the need to create one manually viaRollingDeploymentPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torollingUpdatePolicy(RollingDeploymentPolicy)
.- Parameters:
rollingUpdatePolicy
- a consumer that will call methods onRollingDeploymentPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
waitIntervalInSeconds
The duration in seconds that SageMaker waits before updating more instances in the cluster.
- Parameters:
waitIntervalInSeconds
- The duration in seconds that SageMaker waits before updating more instances in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRollbackConfiguration
DeploymentConfiguration.Builder autoRollbackConfiguration(Collection<AlarmDetails> autoRollbackConfiguration) An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.
- Parameters:
autoRollbackConfiguration
- An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRollbackConfiguration
DeploymentConfiguration.Builder autoRollbackConfiguration(AlarmDetails... autoRollbackConfiguration) An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.
- Parameters:
autoRollbackConfiguration
- An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRollbackConfiguration
DeploymentConfiguration.Builder autoRollbackConfiguration(Consumer<AlarmDetails.Builder>... autoRollbackConfiguration) An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.
This is a convenience method that creates an instance of theAlarmDetails.Builder
avoiding the need to create one manually viaAlarmDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoRollbackConfiguration(List<AlarmDetails>)
.- Parameters:
autoRollbackConfiguration
- a consumer that will call methods onAlarmDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-