public static interface RollingUpdatePolicy.Builder extends SdkPojo, CopyableBuilder<RollingUpdatePolicy.Builder,RollingUpdatePolicy>
| Modifier and Type | Method and Description |
|---|---|
RollingUpdatePolicy.Builder |
maximumBatchSize(CapacitySize maximumBatchSize)
Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and
terminate capacity on the old endpoint fleet.
|
default RollingUpdatePolicy.Builder |
maximumBatchSize(Consumer<CapacitySize.Builder> maximumBatchSize)
Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and
terminate capacity on the old endpoint fleet.
|
RollingUpdatePolicy.Builder |
maximumExecutionTimeoutInSeconds(Integer maximumExecutionTimeoutInSeconds)
The time limit for the total deployment.
|
RollingUpdatePolicy.Builder |
rollbackMaximumBatchSize(CapacitySize rollbackMaximumBatchSize)
Batch size for rollback to the old endpoint fleet.
|
default RollingUpdatePolicy.Builder |
rollbackMaximumBatchSize(Consumer<CapacitySize.Builder> rollbackMaximumBatchSize)
Batch size for rollback to the old endpoint fleet.
|
RollingUpdatePolicy.Builder |
waitIntervalInSeconds(Integer waitIntervalInSeconds)
The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRollingUpdatePolicy.Builder maximumBatchSize(CapacitySize maximumBatchSize)
Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.
maximumBatchSize - Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet,
and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's
total instance count.default RollingUpdatePolicy.Builder maximumBatchSize(Consumer<CapacitySize.Builder> maximumBatchSize)
Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.
This is a convenience method that creates an instance of theCapacitySize.Builder avoiding the need
to create one manually via CapacitySize.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to maximumBatchSize(CapacitySize).
maximumBatchSize - a consumer that will call methods on CapacitySize.BuildermaximumBatchSize(CapacitySize)RollingUpdatePolicy.Builder waitIntervalInSeconds(Integer waitIntervalInSeconds)
The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
waitIntervalInSeconds - The length of the baking period, during which SageMaker monitors alarms for each batch on the new
fleet.RollingUpdatePolicy.Builder maximumExecutionTimeoutInSeconds(Integer maximumExecutionTimeoutInSeconds)
The time limit for the total deployment. Exceeding this limit causes a timeout.
maximumExecutionTimeoutInSeconds - The time limit for the total deployment. Exceeding this limit causes a timeout.RollingUpdatePolicy.Builder rollbackMaximumBatchSize(CapacitySize rollbackMaximumBatchSize)
Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.
rollbackMaximumBatchSize - Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on
traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is
absent, the default value will be set to 100% of total capacity which means to bring up the whole
capacity of the old fleet at once during rollback.default RollingUpdatePolicy.Builder rollbackMaximumBatchSize(Consumer<CapacitySize.Builder> rollbackMaximumBatchSize)
Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.
This is a convenience method that creates an instance of theCapacitySize.Builder avoiding the need
to create one manually via CapacitySize.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to rollbackMaximumBatchSize(CapacitySize).
rollbackMaximumBatchSize - a consumer that will call methods on CapacitySize.BuilderrollbackMaximumBatchSize(CapacitySize)Copyright © 2023. All rights reserved.