@Generated(value="software.amazon.awssdk:codegen") public final class RollingUpdatePolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RollingUpdatePolicy.Builder,RollingUpdatePolicy>
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RollingUpdatePolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RollingUpdatePolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
Integer |
maximumExecutionTimeoutInSeconds()
The time limit for the total deployment.
|
CapacitySize |
rollbackMaximumBatchSize()
Batch size for rollback to the old endpoint fleet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RollingUpdatePolicy.Builder> |
serializableBuilderClass() |
RollingUpdatePolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
waitIntervalInSeconds()
The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final Integer waitIntervalInSeconds()
The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
public final Integer maximumExecutionTimeoutInSeconds()
The time limit for the total deployment. Exceeding this limit causes a timeout.
public final 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.
public RollingUpdatePolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RollingUpdatePolicy.Builder,RollingUpdatePolicy>public static RollingUpdatePolicy.Builder builder()
public static Class<? extends RollingUpdatePolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.