@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableAlarmActionRequest extends Object implements Serializable, Cloneable, StructuredPojo
Information needed to enable the alarm.
Constructor and Description |
---|
EnableAlarmActionRequest() |
Modifier and Type | Method and Description |
---|---|
EnableAlarmActionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmModelName()
The name of the alarm model.
|
String |
getKeyValue()
The value of the key used as a filter to select only the alarms associated with the key.
|
String |
getNote()
The note that you can leave when you enable the alarm.
|
String |
getRequestId()
The request ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlarmModelName(String alarmModelName)
The name of the alarm model.
|
void |
setKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
|
void |
setNote(String note)
The note that you can leave when you enable the alarm.
|
void |
setRequestId(String requestId)
The request ID.
|
String |
toString()
Returns a string representation of this object.
|
EnableAlarmActionRequest |
withAlarmModelName(String alarmModelName)
The name of the alarm model.
|
EnableAlarmActionRequest |
withKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
|
EnableAlarmActionRequest |
withNote(String note)
The note that you can leave when you enable the alarm.
|
EnableAlarmActionRequest |
withRequestId(String requestId)
The request ID.
|
public void setRequestId(String requestId)
The request ID. Each ID must be unique within each batch.
requestId
- The request ID. Each ID must be unique within each batch.public String getRequestId()
The request ID. Each ID must be unique within each batch.
public EnableAlarmActionRequest withRequestId(String requestId)
The request ID. Each ID must be unique within each batch.
requestId
- The request ID. Each ID must be unique within each batch.public void setAlarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName
- The name of the alarm model.public String getAlarmModelName()
The name of the alarm model.
public EnableAlarmActionRequest withAlarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName
- The name of the alarm model.public void setKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
keyValue
- The value of the key used as a filter to select only the alarms associated with the key.public String getKeyValue()
The value of the key used as a filter to select only the alarms associated with the key.
public EnableAlarmActionRequest withKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
keyValue
- The value of the key used as a filter to select only the alarms associated with the key.public void setNote(String note)
The note that you can leave when you enable the alarm.
note
- The note that you can leave when you enable the alarm.public String getNote()
The note that you can leave when you enable the alarm.
public EnableAlarmActionRequest withNote(String note)
The note that you can leave when you enable the alarm.
note
- The note that you can leave when you enable the alarm.public String toString()
toString
in class Object
Object.toString()
public EnableAlarmActionRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.