@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcknowledgeAlarmActionRequest extends Object implements Serializable, Cloneable, StructuredPojo
Information needed to acknowledge the alarm.
Constructor and Description |
---|
AcknowledgeAlarmActionRequest() |
Modifier and Type | Method and Description |
---|---|
AcknowledgeAlarmActionRequest |
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 acknowledge 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 acknowledge the alarm.
|
void |
setRequestId(String requestId)
The request ID.
|
String |
toString()
Returns a string representation of this object.
|
AcknowledgeAlarmActionRequest |
withAlarmModelName(String alarmModelName)
The name of the alarm model.
|
AcknowledgeAlarmActionRequest |
withKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
|
AcknowledgeAlarmActionRequest |
withNote(String note)
The note that you can leave when you acknowledge the alarm.
|
AcknowledgeAlarmActionRequest |
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 AcknowledgeAlarmActionRequest 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 AcknowledgeAlarmActionRequest 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 AcknowledgeAlarmActionRequest 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 acknowledge the alarm.
note
- The note that you can leave when you acknowledge the alarm.public String getNote()
The note that you can leave when you acknowledge the alarm.
public AcknowledgeAlarmActionRequest withNote(String note)
The note that you can leave when you acknowledge the alarm.
note
- The note that you can leave when you acknowledge the alarm.public String toString()
toString
in class Object
Object.toString()
public AcknowledgeAlarmActionRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.