@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Information about alarms associated with the deployment group.
Constructor and Description |
---|
AlarmConfiguration() |
Modifier and Type | Method and Description |
---|---|
AlarmConfiguration |
clone() |
boolean |
equals(Object obj) |
List<Alarm> |
getAlarms()
A list of alarms configured for the deployment group.
|
Boolean |
getEnabled()
Indicates whether the alarm configuration is enabled.
|
Boolean |
getIgnorePollAlarmFailure()
Indicates whether a deployment should continue if information about the current state of alarms cannot be
retrieved from Amazon CloudWatch.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether the alarm configuration is enabled.
|
Boolean |
isIgnorePollAlarmFailure()
Indicates whether a deployment should continue if information about the current state of alarms cannot be
retrieved from Amazon CloudWatch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlarms(Collection<Alarm> alarms)
A list of alarms configured for the deployment group.
|
void |
setEnabled(Boolean enabled)
Indicates whether the alarm configuration is enabled.
|
void |
setIgnorePollAlarmFailure(Boolean ignorePollAlarmFailure)
Indicates whether a deployment should continue if information about the current state of alarms cannot be
retrieved from Amazon CloudWatch.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AlarmConfiguration |
withAlarms(Alarm... alarms)
A list of alarms configured for the deployment group.
|
AlarmConfiguration |
withAlarms(Collection<Alarm> alarms)
A list of alarms configured for the deployment group.
|
AlarmConfiguration |
withEnabled(Boolean enabled)
Indicates whether the alarm configuration is enabled.
|
AlarmConfiguration |
withIgnorePollAlarmFailure(Boolean ignorePollAlarmFailure)
Indicates whether a deployment should continue if information about the current state of alarms cannot be
retrieved from Amazon CloudWatch.
|
public void setEnabled(Boolean enabled)
Indicates whether the alarm configuration is enabled.
enabled
- Indicates whether the alarm configuration is enabled.public Boolean getEnabled()
Indicates whether the alarm configuration is enabled.
public AlarmConfiguration withEnabled(Boolean enabled)
Indicates whether the alarm configuration is enabled.
enabled
- Indicates whether the alarm configuration is enabled.public Boolean isEnabled()
Indicates whether the alarm configuration is enabled.
public void setIgnorePollAlarmFailure(Boolean ignorePollAlarmFailure)
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
ignorePollAlarmFailure
- Indicates whether a deployment should continue if information about the current state of alarms cannot be
retrieved from Amazon CloudWatch. The default value is false.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
public Boolean getIgnorePollAlarmFailure()
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
public AlarmConfiguration withIgnorePollAlarmFailure(Boolean ignorePollAlarmFailure)
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
ignorePollAlarmFailure
- Indicates whether a deployment should continue if information about the current state of alarms cannot be
retrieved from Amazon CloudWatch. The default value is false.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
public Boolean isIgnorePollAlarmFailure()
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
true: The deployment will proceed even if alarm status information can't be retrieved from Amazon CloudWatch.
false: The deployment will stop if alarm status information can't be retrieved from Amazon CloudWatch.
public List<Alarm> getAlarms()
A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.
public void setAlarms(Collection<Alarm> alarms)
A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.
alarms
- A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment
group.public AlarmConfiguration withAlarms(Alarm... alarms)
A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.
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
- A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment
group.public AlarmConfiguration withAlarms(Collection<Alarm> alarms)
A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment group.
alarms
- A list of alarms configured for the deployment group. A maximum of 10 alarms can be added to a deployment
group.public String toString()
toString
in class Object
Object.toString()
public AlarmConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.