Class RollingUpdatePolicy
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.RollingUpdatePolicy
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RollingUpdatePolicy.Builder,RollingUpdatePolicy>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RollingUpdatePolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
maximumBatchSize
public 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.
- Returns:
- 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.
-
waitIntervalInSeconds
public final Integer waitIntervalInSeconds()
The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
- Returns:
- The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
-
maximumExecutionTimeoutInSeconds
public final Integer maximumExecutionTimeoutInSeconds()
The time limit for the total deployment. Exceeding this limit causes a timeout.
- Returns:
- The time limit for the total deployment. Exceeding this limit causes a timeout.
-
rollbackMaximumBatchSize
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.
- Returns:
- 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.
-
toBuilder
public RollingUpdatePolicy.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<RollingUpdatePolicy.Builder,RollingUpdatePolicy>
-
builder
public static RollingUpdatePolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends RollingUpdatePolicy.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-