@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoRollbackConfig extends Object implements Serializable, Cloneable, StructuredPojo
Automatic rollback configuration for handling endpoint deployment failures and recovery.
| Constructor and Description |
|---|
AutoRollbackConfig() |
| Modifier and Type | Method and Description |
|---|---|
AutoRollbackConfig |
clone() |
boolean |
equals(Object obj) |
List<Alarm> |
getAlarms()
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAlarms(Collection<Alarm> alarms)
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.
|
String |
toString()
Returns a string representation of this object.
|
AutoRollbackConfig |
withAlarms(Alarm... alarms)
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.
|
AutoRollbackConfig |
withAlarms(Collection<Alarm> alarms)
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.
|
public List<Alarm> getAlarms()
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
public void setAlarms(Collection<Alarm> alarms)
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
alarms - List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any
alarms are tripped during a deployment, SageMaker rolls back the deployment.public AutoRollbackConfig withAlarms(Alarm... alarms)
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
NOTE: This method appends the values to the existing list (if any). Use
setAlarms(java.util.Collection) or withAlarms(java.util.Collection) if you want to override the
existing values.
alarms - List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any
alarms are tripped during a deployment, SageMaker rolls back the deployment.public AutoRollbackConfig withAlarms(Collection<Alarm> alarms)
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
alarms - List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any
alarms are tripped during a deployment, SageMaker rolls back the deployment.public String toString()
toString in class ObjectObject.toString()public AutoRollbackConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.