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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RollingDeploymentPolicy.BuildermaximumBatchSize(Consumer<CapacitySizeConfig.Builder> maximumBatchSize)The maximum amount of instances in the cluster that SageMaker can update at a time.RollingDeploymentPolicy.BuildermaximumBatchSize(CapacitySizeConfig maximumBatchSize)The maximum amount of instances in the cluster that SageMaker can update at a time.default RollingDeploymentPolicy.BuilderrollbackMaximumBatchSize(Consumer<CapacitySizeConfig.Builder> rollbackMaximumBatchSize)The maximum amount of instances in the cluster that SageMaker can roll back at a time.RollingDeploymentPolicy.BuilderrollbackMaximumBatchSize(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 Detail
-
maximumBatchSize
RollingDeploymentPolicy.Builder maximumBatchSize(CapacitySizeConfig 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.Builderavoiding the need to create one manually viaCapacitySizeConfig.builder().When the
Consumercompletes,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:
maximumBatchSize(CapacitySizeConfig)
-
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.Builderavoiding the need to create one manually viaCapacitySizeConfig.builder().When the
Consumercompletes,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:
rollbackMaximumBatchSize(CapacitySizeConfig)
-
-