@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAlarmModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAlarmModelRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAlarmModelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AlarmCapabilities |
getAlarmCapabilities()
Contains the configuration information of alarm state changes.
|
AlarmEventActions |
getAlarmEventActions()
Contains information about one or more alarm actions.
|
String |
getAlarmModelDescription()
The description of the alarm model.
|
String |
getAlarmModelName()
The name of the alarm model.
|
AlarmNotification |
getAlarmNotification()
Contains information about one or more notification actions.
|
AlarmRule |
getAlarmRule()
Defines when your alarm is invoked.
|
String |
getRoleArn()
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.
|
Integer |
getSeverity()
A non-negative integer that reflects the severity level of the alarm.
|
int |
hashCode() |
void |
setAlarmCapabilities(AlarmCapabilities alarmCapabilities)
Contains the configuration information of alarm state changes.
|
void |
setAlarmEventActions(AlarmEventActions alarmEventActions)
Contains information about one or more alarm actions.
|
void |
setAlarmModelDescription(String alarmModelDescription)
The description of the alarm model.
|
void |
setAlarmModelName(String alarmModelName)
The name of the alarm model.
|
void |
setAlarmNotification(AlarmNotification alarmNotification)
Contains information about one or more notification actions.
|
void |
setAlarmRule(AlarmRule alarmRule)
Defines when your alarm is invoked.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.
|
void |
setSeverity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAlarmModelRequest |
withAlarmCapabilities(AlarmCapabilities alarmCapabilities)
Contains the configuration information of alarm state changes.
|
UpdateAlarmModelRequest |
withAlarmEventActions(AlarmEventActions alarmEventActions)
Contains information about one or more alarm actions.
|
UpdateAlarmModelRequest |
withAlarmModelDescription(String alarmModelDescription)
The description of the alarm model.
|
UpdateAlarmModelRequest |
withAlarmModelName(String alarmModelName)
The name of the alarm model.
|
UpdateAlarmModelRequest |
withAlarmNotification(AlarmNotification alarmNotification)
Contains information about one or more notification actions.
|
UpdateAlarmModelRequest |
withAlarmRule(AlarmRule alarmRule)
Defines when your alarm is invoked.
|
UpdateAlarmModelRequest |
withRoleArn(String roleArn)
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.
|
UpdateAlarmModelRequest |
withSeverity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
|
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 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 UpdateAlarmModelRequest withAlarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName
- The name of the alarm model.public void setAlarmModelDescription(String alarmModelDescription)
The description of the alarm model.
alarmModelDescription
- The description of the alarm model.public String getAlarmModelDescription()
The description of the alarm model.
public UpdateAlarmModelRequest withAlarmModelDescription(String alarmModelDescription)
The description of the alarm model.
alarmModelDescription
- The description of the alarm model.public void setRoleArn(String roleArn)
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
roleArn
- The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more
information, see Amazon Resource Names
(ARNs) in the AWS General Reference.public String getRoleArn()
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
public UpdateAlarmModelRequest withRoleArn(String roleArn)
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
roleArn
- The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more
information, see Amazon Resource Names
(ARNs) in the AWS General Reference.public void setSeverity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
severity
- A non-negative integer that reflects the severity level of the alarm.public Integer getSeverity()
A non-negative integer that reflects the severity level of the alarm.
public UpdateAlarmModelRequest withSeverity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
severity
- A non-negative integer that reflects the severity level of the alarm.public void setAlarmRule(AlarmRule alarmRule)
Defines when your alarm is invoked.
alarmRule
- Defines when your alarm is invoked.public AlarmRule getAlarmRule()
Defines when your alarm is invoked.
public UpdateAlarmModelRequest withAlarmRule(AlarmRule alarmRule)
Defines when your alarm is invoked.
alarmRule
- Defines when your alarm is invoked.public void setAlarmNotification(AlarmNotification alarmNotification)
Contains information about one or more notification actions.
alarmNotification
- Contains information about one or more notification actions.public AlarmNotification getAlarmNotification()
Contains information about one or more notification actions.
public UpdateAlarmModelRequest withAlarmNotification(AlarmNotification alarmNotification)
Contains information about one or more notification actions.
alarmNotification
- Contains information about one or more notification actions.public void setAlarmEventActions(AlarmEventActions alarmEventActions)
Contains information about one or more alarm actions.
alarmEventActions
- Contains information about one or more alarm actions.public AlarmEventActions getAlarmEventActions()
Contains information about one or more alarm actions.
public UpdateAlarmModelRequest withAlarmEventActions(AlarmEventActions alarmEventActions)
Contains information about one or more alarm actions.
alarmEventActions
- Contains information about one or more alarm actions.public void setAlarmCapabilities(AlarmCapabilities alarmCapabilities)
Contains the configuration information of alarm state changes.
alarmCapabilities
- Contains the configuration information of alarm state changes.public AlarmCapabilities getAlarmCapabilities()
Contains the configuration information of alarm state changes.
public UpdateAlarmModelRequest withAlarmCapabilities(AlarmCapabilities alarmCapabilities)
Contains the configuration information of alarm state changes.
alarmCapabilities
- Contains the configuration information of alarm state changes.public String toString()
toString
in class Object
Object.toString()
public UpdateAlarmModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()