Class SetAlarmStateRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe descriptive name for the alarm.The reason that this alarm is set to this specific state (in human-readable text format)The reason that this alarm is set to this specific state (in machine-readable JSON format)The value of the state.inthashCode()voidsetAlarmName(String alarmName) The descriptive name for the alarm.voidsetStateReason(String stateReason) The reason that this alarm is set to this specific state (in human-readable text format)voidsetStateReasonData(String stateReasonData) The reason that this alarm is set to this specific state (in machine-readable JSON format)voidsetStateValue(StateValue stateValue) The value of the state.voidsetStateValue(String stateValue) The value of the state.toString()Returns a string representation of this object; useful for testing and debugging.withAlarmName(String alarmName) The descriptive name for the alarm.withStateReason(String stateReason) The reason that this alarm is set to this specific state (in human-readable text format)withStateReasonData(String stateReasonData) The reason that this alarm is set to this specific state (in machine-readable JSON format)withStateValue(StateValue stateValue) The value of the state.withStateValue(String stateValue) The value of the state.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SetAlarmStateRequest
public SetAlarmStateRequest()
-
-
Method Details
-
setAlarmName
The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.
- Parameters:
alarmName- The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.
-
getAlarmName
The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.
- Returns:
- The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.
-
withAlarmName
The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.
- Parameters:
alarmName- The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStateValue
The value of the state.
- Parameters:
stateValue- The value of the state.- See Also:
-
getStateValue
-
withStateValue
The value of the state.
- Parameters:
stateValue- The value of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStateValue
The value of the state.
- Parameters:
stateValue- The value of the state.- See Also:
-
withStateValue
The value of the state.
- Parameters:
stateValue- The value of the state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStateReason
The reason that this alarm is set to this specific state (in human-readable text format)
- Parameters:
stateReason- The reason that this alarm is set to this specific state (in human-readable text format)
-
getStateReason
The reason that this alarm is set to this specific state (in human-readable text format)
- Returns:
- The reason that this alarm is set to this specific state (in human-readable text format)
-
withStateReason
The reason that this alarm is set to this specific state (in human-readable text format)
- Parameters:
stateReason- The reason that this alarm is set to this specific state (in human-readable text format)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStateReasonData
The reason that this alarm is set to this specific state (in machine-readable JSON format)
- Parameters:
stateReasonData- The reason that this alarm is set to this specific state (in machine-readable JSON format)
-
getStateReasonData
The reason that this alarm is set to this specific state (in machine-readable JSON format)
- Returns:
- The reason that this alarm is set to this specific state (in machine-readable JSON format)
-
withStateReasonData
The reason that this alarm is set to this specific state (in machine-readable JSON format)
- Parameters:
stateReasonData- The reason that this alarm is set to this specific state (in machine-readable JSON format)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-