@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentConfig.Builder,DeploymentConfig>
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeploymentConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
AutoRollbackConfig |
autoRollbackConfiguration()
Automatic rollback configuration for handling endpoint deployment failures and recovery.
|
BlueGreenUpdatePolicy |
blueGreenUpdatePolicy()
Update policy for a blue/green deployment.
|
static DeploymentConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentConfig.Builder> |
serializableBuilderClass() |
DeploymentConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BlueGreenUpdatePolicy blueGreenUpdatePolicy()
Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
public final AutoRollbackConfig autoRollbackConfiguration()
Automatic rollback configuration for handling endpoint deployment failures and recovery.
public DeploymentConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeploymentConfig.Builder,DeploymentConfig>public static DeploymentConfig.Builder builder()
public static Class<? extends DeploymentConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.