public class ConfigurationRecorderStatus extends Object implements Serializable, Cloneable
The current status of the configuration recorder.
| Constructor and Description |
|---|
ConfigurationRecorderStatus() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationRecorderStatus |
clone() |
boolean |
equals(Object obj) |
String |
getLastErrorCode()
The error code indicating that the recording failed.
|
String |
getLastErrorMessage()
The message indicating that the recording failed due to an error.
|
Date |
getLastStartTime()
The time the recorder was last started.
|
String |
getLastStatus()
The last (previous) status of the recorder.
|
Date |
getLastStatusChangeTime()
The time when the status was last changed.
|
Date |
getLastStopTime()
The time the recorder was last stopped.
|
String |
getName()
The name of the configuration recorder.
|
Boolean |
getRecording()
Specifies whether the recorder is currently recording or not.
|
int |
hashCode() |
Boolean |
isRecording()
Specifies whether the recorder is currently recording or not.
|
void |
setLastErrorCode(String lastErrorCode)
The error code indicating that the recording failed.
|
void |
setLastErrorMessage(String lastErrorMessage)
The message indicating that the recording failed due to an error.
|
void |
setLastStartTime(Date lastStartTime)
The time the recorder was last started.
|
void |
setLastStatus(RecorderStatus lastStatus)
The last (previous) status of the recorder.
|
void |
setLastStatus(String lastStatus)
The last (previous) status of the recorder.
|
void |
setLastStatusChangeTime(Date lastStatusChangeTime)
The time when the status was last changed.
|
void |
setLastStopTime(Date lastStopTime)
The time the recorder was last stopped.
|
void |
setName(String name)
The name of the configuration recorder.
|
void |
setRecording(Boolean recording)
Specifies whether the recorder is currently recording or not.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigurationRecorderStatus |
withLastErrorCode(String lastErrorCode)
The error code indicating that the recording failed.
|
ConfigurationRecorderStatus |
withLastErrorMessage(String lastErrorMessage)
The message indicating that the recording failed due to an error.
|
ConfigurationRecorderStatus |
withLastStartTime(Date lastStartTime)
The time the recorder was last started.
|
ConfigurationRecorderStatus |
withLastStatus(RecorderStatus lastStatus)
The last (previous) status of the recorder.
|
ConfigurationRecorderStatus |
withLastStatus(String lastStatus)
The last (previous) status of the recorder.
|
ConfigurationRecorderStatus |
withLastStatusChangeTime(Date lastStatusChangeTime)
The time when the status was last changed.
|
ConfigurationRecorderStatus |
withLastStopTime(Date lastStopTime)
The time the recorder was last stopped.
|
ConfigurationRecorderStatus |
withName(String name)
The name of the configuration recorder.
|
ConfigurationRecorderStatus |
withRecording(Boolean recording)
Specifies whether the recorder is currently recording or not.
|
public String getName()
public void setName(String name)
name - The name of the configuration recorder.public ConfigurationRecorderStatus withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - The name of the configuration recorder.public Date getLastStartTime()
public void setLastStartTime(Date lastStartTime)
lastStartTime - The time the recorder was last started.public ConfigurationRecorderStatus withLastStartTime(Date lastStartTime)
Returns a reference to this object so that method calls can be chained together.
lastStartTime - The time the recorder was last started.public Date getLastStopTime()
public void setLastStopTime(Date lastStopTime)
lastStopTime - The time the recorder was last stopped.public ConfigurationRecorderStatus withLastStopTime(Date lastStopTime)
Returns a reference to this object so that method calls can be chained together.
lastStopTime - The time the recorder was last stopped.public Boolean isRecording()
public void setRecording(Boolean recording)
recording - Specifies whether the recorder is currently recording or not.public ConfigurationRecorderStatus withRecording(Boolean recording)
Returns a reference to this object so that method calls can be chained together.
recording - Specifies whether the recorder is currently recording or not.public Boolean getRecording()
public String getLastStatus()
Constraints:
Allowed Values: Pending, Success, Failure
RecorderStatuspublic void setLastStatus(String lastStatus)
Constraints:
Allowed Values: Pending, Success, Failure
lastStatus - The last (previous) status of the recorder.RecorderStatuspublic ConfigurationRecorderStatus withLastStatus(String lastStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Success, Failure
lastStatus - The last (previous) status of the recorder.RecorderStatuspublic void setLastStatus(RecorderStatus lastStatus)
Constraints:
Allowed Values: Pending, Success, Failure
lastStatus - The last (previous) status of the recorder.RecorderStatuspublic ConfigurationRecorderStatus withLastStatus(RecorderStatus lastStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Success, Failure
lastStatus - The last (previous) status of the recorder.RecorderStatuspublic String getLastErrorCode()
public void setLastErrorCode(String lastErrorCode)
lastErrorCode - The error code indicating that the recording failed.public ConfigurationRecorderStatus withLastErrorCode(String lastErrorCode)
Returns a reference to this object so that method calls can be chained together.
lastErrorCode - The error code indicating that the recording failed.public String getLastErrorMessage()
public void setLastErrorMessage(String lastErrorMessage)
lastErrorMessage - The message indicating that the recording failed due to an error.public ConfigurationRecorderStatus withLastErrorMessage(String lastErrorMessage)
Returns a reference to this object so that method calls can be chained together.
lastErrorMessage - The message indicating that the recording failed due to an error.public Date getLastStatusChangeTime()
public void setLastStatusChangeTime(Date lastStatusChangeTime)
lastStatusChangeTime - The time when the status was last changed.public ConfigurationRecorderStatus withLastStatusChangeTime(Date lastStatusChangeTime)
Returns a reference to this object so that method calls can be chained together.
lastStatusChangeTime - The time when the status was last changed.public String toString()
toString in class ObjectObject.toString()public ConfigurationRecorderStatus clone()
Copyright © 2015. All rights reserved.