@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentConfig extends Object implements Serializable, Cloneable, StructuredPojo
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
Constructor and Description |
---|
DeploymentConfig() |
Modifier and Type | Method and Description |
---|---|
DeploymentConfig |
clone() |
boolean |
equals(Object obj) |
AutoRollbackConfig |
getAutoRollbackConfiguration()
Automatic rollback configuration for handling endpoint deployment failures and recovery.
|
BlueGreenUpdatePolicy |
getBlueGreenUpdatePolicy()
Update policy for a blue/green deployment.
|
RollingUpdatePolicy |
getRollingUpdatePolicy()
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoRollbackConfiguration(AutoRollbackConfig autoRollbackConfiguration)
Automatic rollback configuration for handling endpoint deployment failures and recovery.
|
void |
setBlueGreenUpdatePolicy(BlueGreenUpdatePolicy blueGreenUpdatePolicy)
Update policy for a blue/green deployment.
|
void |
setRollingUpdatePolicy(RollingUpdatePolicy rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentConfig |
withAutoRollbackConfiguration(AutoRollbackConfig autoRollbackConfiguration)
Automatic rollback configuration for handling endpoint deployment failures and recovery.
|
DeploymentConfig |
withBlueGreenUpdatePolicy(BlueGreenUpdatePolicy blueGreenUpdatePolicy)
Update policy for a blue/green deployment.
|
DeploymentConfig |
withRollingUpdatePolicy(RollingUpdatePolicy rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
|
public void setBlueGreenUpdatePolicy(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.
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 BlueGreenUpdatePolicy getBlueGreenUpdatePolicy()
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 DeploymentConfig withBlueGreenUpdatePolicy(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.
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 void setRollingUpdatePolicy(RollingUpdatePolicy rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
rollingUpdatePolicy
- Specifies a rolling deployment strategy for updating a SageMaker endpoint.public RollingUpdatePolicy getRollingUpdatePolicy()
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
public DeploymentConfig withRollingUpdatePolicy(RollingUpdatePolicy rollingUpdatePolicy)
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
rollingUpdatePolicy
- Specifies a rolling deployment strategy for updating a SageMaker endpoint.public void setAutoRollbackConfiguration(AutoRollbackConfig autoRollbackConfiguration)
Automatic rollback configuration for handling endpoint deployment failures and recovery.
autoRollbackConfiguration
- Automatic rollback configuration for handling endpoint deployment failures and recovery.public AutoRollbackConfig getAutoRollbackConfiguration()
Automatic rollback configuration for handling endpoint deployment failures and recovery.
public DeploymentConfig withAutoRollbackConfiguration(AutoRollbackConfig autoRollbackConfiguration)
Automatic rollback configuration for handling endpoint deployment failures and recovery.
autoRollbackConfiguration
- Automatic rollback configuration for handling endpoint deployment failures and recovery.public String toString()
toString
in class Object
Object.toString()
public DeploymentConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.