@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmModelVersionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of an alarm model version.
Constructor and Description |
---|
AlarmModelVersionSummary() |
Modifier and Type | Method and Description |
---|---|
AlarmModelVersionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmModelArn()
The ARN of the alarm model.
|
String |
getAlarmModelName()
The name of the alarm model.
|
String |
getAlarmModelVersion()
The version of the alarm model.
|
Date |
getCreationTime()
The time the alarm model was created, in the Unix epoch format.
|
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.
|
String |
getStatus()
The status of the alarm model.
|
String |
getStatusMessage()
Contains information about the status of the alarm model version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlarmModelArn(String alarmModelArn)
The ARN 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 |
setCreationTime(Date creationTime)
The time the alarm model was created, in the Unix epoch format.
|
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 |
setStatus(String status)
The status of the alarm model.
|
void |
setStatusMessage(String statusMessage)
Contains information about the status of the alarm model version.
|
String |
toString()
Returns a string representation of this object.
|
AlarmModelVersionSummary |
withAlarmModelArn(String alarmModelArn)
The ARN of the alarm model.
|
AlarmModelVersionSummary |
withAlarmModelName(String alarmModelName)
The name of the alarm model.
|
AlarmModelVersionSummary |
withAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
|
AlarmModelVersionSummary |
withCreationTime(Date creationTime)
The time the alarm model was created, in the Unix epoch format.
|
AlarmModelVersionSummary |
withLastUpdateTime(Date lastUpdateTime)
The time the alarm model was last updated, in the Unix epoch format.
|
AlarmModelVersionSummary |
withRoleArn(String roleArn)
The ARN of the IAM role that allows the alarm to perform actions and access AWS resources.
|
AlarmModelVersionSummary |
withStatus(AlarmModelVersionStatus status)
The status of the alarm model.
|
AlarmModelVersionSummary |
withStatus(String status)
The status of the alarm model.
|
AlarmModelVersionSummary |
withStatusMessage(String statusMessage)
Contains information about the status of the alarm model version.
|
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 AlarmModelVersionSummary withAlarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName
- The name of the alarm model.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 AlarmModelVersionSummary 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 AlarmModelVersionSummary withAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
alarmModelVersion
- The version 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 AlarmModelVersionSummary 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 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 AlarmModelVersionSummary 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 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 AlarmModelVersionSummary 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 AlarmModelVersionSummary 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 AlarmModelVersionSummary 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 version.
statusMessage
- Contains information about the status of the alarm model version.public String getStatusMessage()
Contains information about the status of the alarm model version.
public AlarmModelVersionSummary withStatusMessage(String statusMessage)
Contains information about the status of the alarm model version.
statusMessage
- Contains information about the status of the alarm model version.public String toString()
toString
in class Object
Object.toString()
public AlarmModelVersionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.