@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetAlarmStateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetAlarmStateRequest() |
Modifier and Type | Method and Description |
---|---|
SetAlarmStateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlarmName()
The name for the alarm.
|
String |
getStateReason()
The reason that this alarm is set to this specific state, in text format.
|
String |
getStateReasonData()
The reason that this alarm is set to this specific state, in JSON format.
|
String |
getStateValue()
The value of the state.
|
int |
hashCode() |
void |
setAlarmName(String alarmName)
The name for the alarm.
|
void |
setStateReason(String stateReason)
The reason that this alarm is set to this specific state, in text format.
|
void |
setStateReasonData(String stateReasonData)
The reason that this alarm is set to this specific state, in JSON format.
|
void |
setStateValue(StateValue stateValue)
The value of the state.
|
void |
setStateValue(String stateValue)
The value of the state.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetAlarmStateRequest |
withAlarmName(String alarmName)
The name for the alarm.
|
SetAlarmStateRequest |
withStateReason(String stateReason)
The reason that this alarm is set to this specific state, in text format.
|
SetAlarmStateRequest |
withStateReasonData(String stateReasonData)
The reason that this alarm is set to this specific state, in JSON format.
|
SetAlarmStateRequest |
withStateValue(StateValue stateValue)
The value of the state.
|
SetAlarmStateRequest |
withStateValue(String stateValue)
The value of the state.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAlarmName(String alarmName)
The name for the alarm. This name must be unique within the AWS account. The maximum length is 255 characters.
alarmName
- The name for the alarm. This name must be unique within the AWS account. The maximum length is 255
characters.public String getAlarmName()
The name for the alarm. This name must be unique within the AWS account. The maximum length is 255 characters.
public SetAlarmStateRequest withAlarmName(String alarmName)
The name for the alarm. This name must be unique within the AWS account. The maximum length is 255 characters.
alarmName
- The name for the alarm. This name must be unique within the AWS account. The maximum length is 255
characters.public void setStateValue(String stateValue)
The value of the state.
stateValue
- The value of the state.StateValue
public String getStateValue()
The value of the state.
StateValue
public SetAlarmStateRequest withStateValue(String stateValue)
The value of the state.
stateValue
- The value of the state.StateValue
public void setStateValue(StateValue stateValue)
The value of the state.
stateValue
- The value of the state.StateValue
public SetAlarmStateRequest withStateValue(StateValue stateValue)
The value of the state.
stateValue
- The value of the state.StateValue
public void setStateReason(String stateReason)
The reason that this alarm is set to this specific state, in text format.
stateReason
- The reason that this alarm is set to this specific state, in text format.public String getStateReason()
The reason that this alarm is set to this specific state, in text format.
public SetAlarmStateRequest withStateReason(String stateReason)
The reason that this alarm is set to this specific state, in text format.
stateReason
- The reason that this alarm is set to this specific state, in text format.public void setStateReasonData(String stateReasonData)
The reason that this alarm is set to this specific state, in JSON format.
stateReasonData
- The reason that this alarm is set to this specific state, in JSON format.public String getStateReasonData()
The reason that this alarm is set to this specific state, in JSON format.
public SetAlarmStateRequest withStateReasonData(String stateReasonData)
The reason that this alarm is set to this specific state, in JSON format.
stateReasonData
- The reason that this alarm is set to this specific state, in JSON format.public String toString()
toString
in class Object
Object.toString()
public SetAlarmStateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.