@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAlarmModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateAlarmModelResult() |
Modifier and Type | Method and Description |
---|---|
UpdateAlarmModelResult |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmModelArn()
The ARN 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 |
getStatus()
The status of the alarm model.
|
int |
hashCode() |
void |
setAlarmModelArn(String alarmModelArn)
The ARN 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 |
setStatus(String status)
The status of the alarm model.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAlarmModelResult |
withAlarmModelArn(String alarmModelArn)
The ARN of the alarm model.
|
UpdateAlarmModelResult |
withAlarmModelVersion(String alarmModelVersion)
The version of the alarm model.
|
UpdateAlarmModelResult |
withCreationTime(Date creationTime)
The time the alarm model was created, in the Unix epoch format.
|
UpdateAlarmModelResult |
withLastUpdateTime(Date lastUpdateTime)
The time the alarm model was last updated, in the Unix epoch format.
|
UpdateAlarmModelResult |
withStatus(AlarmModelVersionStatus status)
The status of the alarm model.
|
UpdateAlarmModelResult |
withStatus(String status)
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 UpdateAlarmModelResult 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 UpdateAlarmModelResult 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 UpdateAlarmModelResult 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 UpdateAlarmModelResult 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 UpdateAlarmModelResult 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 UpdateAlarmModelResult 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 String toString()
toString
in class Object
Object.toString()
public UpdateAlarmModelResult clone()