@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAlarmModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAlarmModelResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAlarmModelResult |
clone() |
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 |
getAlarmModelArn()
The ARN of the alarm model.
|
String |
getAlarmModelDescription()
The description of the alarm model.
|
String |
getAlarmModelName()
The name of the alarm model.
|
String |
getAlarmModelVersion()
The version of the alarm model.
|
AlarmNotification |
getAlarmNotification()
Contains information about one or more notification actions.
|
AlarmRule |
getAlarmRule()
Defines when your alarm is invoked.
|
Date |
getCreationTime()
The time the alarm model was created, in the Unix epoch format.
|
String |
getKey()
An input attribute used as a key to create an alarm.
|
Date |
getLastUpdateTime()
The time the alarm model was last updated, in the Unix epoch format.
|
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.
|
String |
getStatus()
The status of the alarm model.
|
String |
getStatusMessage()
Contains information about the status of the alarm model.
|
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 |
setAlarmModelArn(String alarmModelArn)
The ARN of the alarm model.
|
void |
setAlarmModelDescription(String alarmModelDescription)
The description of the alarm model.
|
void |
setAlarmModelName(String alarmModelName)
The name of the alarm model.
|
void |
setAlarmModelVersion(String alarmModelVersion)
The version 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 |
setCreationTime(Date creationTime)
The time the alarm model was created, in the Unix epoch format.
|
void |
setKey(String key)
An input attribute used as a key to create an alarm.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The time the alarm model was last updated, in the Unix epoch format.
|
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.
|
void |
setStatus(String status)
The status of the alarm model.
|
void |
setStatusMessage(String statusMessage)
Contains information about the status of the alarm model.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAlarmModelResult |
withAlarmCapabilities(AlarmCapabilities alarmCapabilities)
Contains the configuration information of alarm state changes.
|
DescribeAlarmModelResult |
withAlarmEventActions(AlarmEventActions alarmEventActions)
Contains information about one or more alarm actions.
|
DescribeAlarmModelResult |
withAlarmModelArn(String alarmModelArn)
The ARN of the alarm model.
|
DescribeAlarmModelResult |
withAlarmModelDescription(String alarmModelDescription)
The description of the alarm model.
|
DescribeAlarmModelResult |
withAlarmModelName(String alarmModelName)
The name of the alarm model.
|
DescribeAlarmModelResult |
withAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
|
DescribeAlarmModelResult |
withAlarmNotification(AlarmNotification alarmNotification)
Contains information about one or more notification actions.
|
DescribeAlarmModelResult |
withAlarmRule(AlarmRule alarmRule)
Defines when your alarm is invoked.
|
DescribeAlarmModelResult |
withCreationTime(Date creationTime)
The time the alarm model was created, in the Unix epoch format.
|
DescribeAlarmModelResult |
withKey(String key)
An input attribute used as a key to create an alarm.
|
DescribeAlarmModelResult |
withLastUpdateTime(Date lastUpdateTime)
The time the alarm model was last updated, in the Unix epoch format.
|
DescribeAlarmModelResult |
withRoleArn(String roleArn)
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.
|
DescribeAlarmModelResult |
withSeverity(Integer severity)
A non-negative integer that reflects the severity level of the alarm.
|
DescribeAlarmModelResult |
withStatus(AlarmModelVersionStatus status)
The status of the alarm model.
|
DescribeAlarmModelResult |
withStatus(String status)
The status of the alarm model.
|
DescribeAlarmModelResult |
withStatusMessage(String statusMessage)
Contains information about the status of the alarm model.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCreationTime(Date creationTime)
The time the alarm model was created, in the Unix epoch format.
creationTime
- The time the alarm model was created, in the Unix epoch format.public Date getCreationTime()
The time the alarm model was created, in the Unix epoch format.
public DescribeAlarmModelResult withCreationTime(Date creationTime)
The time the alarm model was created, in the Unix epoch format.
creationTime
- The time the alarm model was created, in the Unix epoch format.public void setAlarmModelArn(String alarmModelArn)
The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
alarmModelArn
- The ARN of the alarm model. For more information, see Amazon Resource Names
(ARNs) in the AWS General Reference.public String getAlarmModelArn()
The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
public DescribeAlarmModelResult withAlarmModelArn(String alarmModelArn)
The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
alarmModelArn
- The ARN of the alarm model. For more information, see Amazon Resource Names
(ARNs) in the AWS General Reference.public void setAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
alarmModelVersion
- The version of the alarm model.public String getAlarmModelVersion()
The version of the alarm model.
public DescribeAlarmModelResult withAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
alarmModelVersion
- The version of the alarm model.public void setLastUpdateTime(Date lastUpdateTime)
The time the alarm model was last updated, in the Unix epoch format.
lastUpdateTime
- The time the alarm model was last updated, in the Unix epoch format.public Date getLastUpdateTime()
The time the alarm model was last updated, in the Unix epoch format.
public DescribeAlarmModelResult withLastUpdateTime(Date lastUpdateTime)
The time the alarm model was last updated, in the Unix epoch format.
lastUpdateTime
- The time the alarm model was last updated, in the Unix epoch format.public void setStatus(String status)
The status of the alarm model. The status can be one of the following values:
ACTIVE
- The alarm model is active and it's ready to evaluate data.
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can take up to
a few minutes.
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model
information and update the alarm model.
FAILED
- You couldn't create or update the alarm model. Check your alarm model information and try
again.
status
- The status of the alarm model. The status can be one of the following values:
ACTIVE
- The alarm model is active and it's ready to evaluate data.
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can
take up to a few minutes.
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm
model information and update the alarm model.
FAILED
- You couldn't create or update the alarm model. Check your alarm model information
and try again.
AlarmModelVersionStatus
public String getStatus()
The status of the alarm model. The status can be one of the following values:
ACTIVE
- The alarm model is active and it's ready to evaluate data.
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can take up to
a few minutes.
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model
information and update the alarm model.
FAILED
- You couldn't create or update the alarm model. Check your alarm model information and try
again.
ACTIVE
- The alarm model is active and it's ready to evaluate data.
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can
take up to a few minutes.
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm
model information and update the alarm model.
FAILED
- You couldn't create or update the alarm model. Check your alarm model information
and try again.
AlarmModelVersionStatus
public DescribeAlarmModelResult withStatus(String status)
The status of the alarm model. The status can be one of the following values:
ACTIVE
- The alarm model is active and it's ready to evaluate data.
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can take up to
a few minutes.
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model
information and update the alarm model.
FAILED
- You couldn't create or update the alarm model. Check your alarm model information and try
again.
status
- The status of the alarm model. The status can be one of the following values:
ACTIVE
- The alarm model is active and it's ready to evaluate data.
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can
take up to a few minutes.
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm
model information and update the alarm model.
FAILED
- You couldn't create or update the alarm model. Check your alarm model information
and try again.
AlarmModelVersionStatus
public DescribeAlarmModelResult withStatus(AlarmModelVersionStatus status)
The status of the alarm model. The status can be one of the following values:
ACTIVE
- The alarm model is active and it's ready to evaluate data.
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can take up to
a few minutes.
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model
information and update the alarm model.
FAILED
- You couldn't create or update the alarm model. Check your alarm model information and try
again.
status
- The status of the alarm model. The status can be one of the following values:
ACTIVE
- The alarm model is active and it's ready to evaluate data.
ACTIVATING
- AWS IoT Events is activating your alarm model. Activating an alarm model can
take up to a few minutes.
INACTIVE
- The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm
model information and update the alarm model.
FAILED
- You couldn't create or update the alarm model. Check your alarm model information
and try again.
AlarmModelVersionStatus
public void setStatusMessage(String statusMessage)
Contains information about the status of the alarm model.
statusMessage
- Contains information about the status of the alarm model.public String getStatusMessage()
Contains information about the status of the alarm model.
public DescribeAlarmModelResult withStatusMessage(String statusMessage)
Contains information about the status of the alarm model.
statusMessage
- Contains information about the status of the alarm model.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 DescribeAlarmModelResult 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 DescribeAlarmModelResult 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 DescribeAlarmModelResult 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 setKey(String key)
An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.
key
- An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with
this key to the alarm.public String getKey()
An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.
public DescribeAlarmModelResult withKey(String key)
An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.
key
- An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with
this key to the alarm.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 DescribeAlarmModelResult 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 DescribeAlarmModelResult 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 DescribeAlarmModelResult 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 DescribeAlarmModelResult 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 DescribeAlarmModelResult 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 DescribeAlarmModelResult clone()