@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 Object
Object.toString()
public AutoRollbackConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.