Interface RollingDeploymentPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RollingDeploymentPolicy.Builder,
,RollingDeploymentPolicy> SdkBuilder<RollingDeploymentPolicy.Builder,
,RollingDeploymentPolicy> SdkPojo
- Enclosing class:
RollingDeploymentPolicy
@Mutable
@NotThreadSafe
public static interface RollingDeploymentPolicy.Builder
extends SdkPojo, CopyableBuilder<RollingDeploymentPolicy.Builder,RollingDeploymentPolicy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RollingDeploymentPolicy.Builder
maximumBatchSize
(Consumer<CapacitySizeConfig.Builder> maximumBatchSize) The maximum amount of instances in the cluster that SageMaker can update at a time.maximumBatchSize
(CapacitySizeConfig maximumBatchSize) The maximum amount of instances in the cluster that SageMaker can update at a time.default RollingDeploymentPolicy.Builder
rollbackMaximumBatchSize
(Consumer<CapacitySizeConfig.Builder> rollbackMaximumBatchSize) The maximum amount of instances in the cluster that SageMaker can roll back at a time.rollbackMaximumBatchSize
(CapacitySizeConfig rollbackMaximumBatchSize) The maximum amount of instances in the cluster that SageMaker can roll back at a time.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
-
maximumBatchSize
The maximum amount of instances in the cluster that SageMaker can update at a time.
- Parameters:
maximumBatchSize
- The maximum amount of instances in the cluster that SageMaker can update at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumBatchSize
default RollingDeploymentPolicy.Builder maximumBatchSize(Consumer<CapacitySizeConfig.Builder> maximumBatchSize) The maximum amount of instances in the cluster that SageMaker can update at a time.
This is a convenience method that creates an instance of theCapacitySizeConfig.Builder
avoiding the need to create one manually viaCapacitySizeConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaximumBatchSize(CapacitySizeConfig)
.- Parameters:
maximumBatchSize
- a consumer that will call methods onCapacitySizeConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rollbackMaximumBatchSize
RollingDeploymentPolicy.Builder rollbackMaximumBatchSize(CapacitySizeConfig rollbackMaximumBatchSize) The maximum amount of instances in the cluster that SageMaker can roll back at a time.
- Parameters:
rollbackMaximumBatchSize
- The maximum amount of instances in the cluster that SageMaker can roll back at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackMaximumBatchSize
default RollingDeploymentPolicy.Builder rollbackMaximumBatchSize(Consumer<CapacitySizeConfig.Builder> rollbackMaximumBatchSize) The maximum amount of instances in the cluster that SageMaker can roll back at a time.
This is a convenience method that creates an instance of theCapacitySizeConfig.Builder
avoiding the need to create one manually viaCapacitySizeConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torollbackMaximumBatchSize(CapacitySizeConfig)
.- Parameters:
rollbackMaximumBatchSize
- a consumer that will call methods onCapacitySizeConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-