Interface DeploymentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentConfiguration.Builder,DeploymentConfiguration>,SdkBuilder<DeploymentConfiguration.Builder,DeploymentConfiguration>,SdkPojo
- Enclosing class:
- DeploymentConfiguration
@Mutable @NotThreadSafe public static interface DeploymentConfiguration.Builder extends SdkPojo, CopyableBuilder<DeploymentConfiguration.Builder,DeploymentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeploymentConfiguration.BuilderautoRollbackConfiguration(Collection<AlarmDetails> autoRollbackConfiguration)An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.DeploymentConfiguration.BuilderautoRollbackConfiguration(Consumer<AlarmDetails.Builder>... autoRollbackConfiguration)An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.DeploymentConfiguration.BuilderautoRollbackConfiguration(AlarmDetails... autoRollbackConfiguration)An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.default DeploymentConfiguration.BuilderrollingUpdatePolicy(Consumer<RollingDeploymentPolicy.Builder> rollingUpdatePolicy)The policy that SageMaker uses when updating the AMI versions of the cluster.DeploymentConfiguration.BuilderrollingUpdatePolicy(RollingDeploymentPolicy rollingUpdatePolicy)The policy that SageMaker uses when updating the AMI versions of the cluster.DeploymentConfiguration.BuilderwaitIntervalInSeconds(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 Detail
-
rollingUpdatePolicy
DeploymentConfiguration.Builder rollingUpdatePolicy(RollingDeploymentPolicy 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.Builderavoiding the need to create one manually viaRollingDeploymentPolicy.builder().When the
Consumercompletes,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:
rollingUpdatePolicy(RollingDeploymentPolicy)
-
waitIntervalInSeconds
DeploymentConfiguration.Builder waitIntervalInSeconds(Integer 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.Builderavoiding the need to create one manually viaAlarmDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#autoRollbackConfiguration(List.) - 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:
#autoRollbackConfiguration(java.util.Collection)
-
-