Class DeploymentConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.DeploymentConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentConfig.Builder,DeploymentConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoRollbackConfigautoRollbackConfiguration()Automatic rollback configuration for handling endpoint deployment failures and recovery.BlueGreenUpdatePolicyblueGreenUpdatePolicy()Update policy for a blue/green deployment.static DeploymentConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RollingUpdatePolicyrollingUpdatePolicy()Specifies a rolling deployment strategy for updating a SageMaker endpoint.List<SdkField<?>>sdkFields()static Class<? extends DeploymentConfig.Builder>serializableBuilderClass()DeploymentConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
blueGreenUpdatePolicy
public 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.
- Returns:
- 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.
-
autoRollbackConfiguration
public final AutoRollbackConfig autoRollbackConfiguration()
Automatic rollback configuration for handling endpoint deployment failures and recovery.
- Returns:
- Automatic rollback configuration for handling endpoint deployment failures and recovery.
-
rollingUpdatePolicy
public final RollingUpdatePolicy rollingUpdatePolicy()
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
- Returns:
- Specifies a rolling deployment strategy for updating a SageMaker endpoint.
-
toBuilder
public DeploymentConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentConfig.Builder,DeploymentConfig>
-
builder
public static DeploymentConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeploymentConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-