public class ConfigurationRecorderStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The current status of the configuration recorder.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
lastErrorCode
The error code indicating that the recording failed.
|
private java.lang.String |
lastErrorMessage
The message indicating that the recording failed due to an error.
|
private java.util.Date |
lastStartTime
The time the recorder was last started.
|
private java.lang.String |
lastStatus
The last (previous) status of the recorder.
|
private java.util.Date |
lastStatusChangeTime
The time when the status was last changed.
|
private java.util.Date |
lastStopTime
The time the recorder was last stopped.
|
private java.lang.String |
name
The name of the configuration recorder.
|
private java.lang.Boolean |
recording
Specifies whether the recorder is currently recording or not.
|
Constructor and Description |
---|
ConfigurationRecorderStatus() |
Modifier and Type | Method and Description |
---|---|
ConfigurationRecorderStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLastErrorCode()
The error code indicating that the recording failed.
|
java.lang.String |
getLastErrorMessage()
The message indicating that the recording failed due to an error.
|
java.util.Date |
getLastStartTime()
The time the recorder was last started.
|
java.lang.String |
getLastStatus()
The last (previous) status of the recorder.
|
java.util.Date |
getLastStatusChangeTime()
The time when the status was last changed.
|
java.util.Date |
getLastStopTime()
The time the recorder was last stopped.
|
java.lang.String |
getName()
The name of the configuration recorder.
|
java.lang.Boolean |
getRecording()
Specifies whether the recorder is currently recording or not.
|
int |
hashCode() |
java.lang.Boolean |
isRecording()
Specifies whether the recorder is currently recording or not.
|
void |
setLastErrorCode(java.lang.String lastErrorCode)
The error code indicating that the recording failed.
|
void |
setLastErrorMessage(java.lang.String lastErrorMessage)
The message indicating that the recording failed due to an error.
|
void |
setLastStartTime(java.util.Date lastStartTime)
The time the recorder was last started.
|
void |
setLastStatus(RecorderStatus lastStatus)
The last (previous) status of the recorder.
|
void |
setLastStatus(java.lang.String lastStatus)
The last (previous) status of the recorder.
|
void |
setLastStatusChangeTime(java.util.Date lastStatusChangeTime)
The time when the status was last changed.
|
void |
setLastStopTime(java.util.Date lastStopTime)
The time the recorder was last stopped.
|
void |
setName(java.lang.String name)
The name of the configuration recorder.
|
void |
setRecording(java.lang.Boolean recording)
Specifies whether the recorder is currently recording or not.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigurationRecorderStatus |
withLastErrorCode(java.lang.String lastErrorCode)
The error code indicating that the recording failed.
|
ConfigurationRecorderStatus |
withLastErrorMessage(java.lang.String lastErrorMessage)
The message indicating that the recording failed due to an error.
|
ConfigurationRecorderStatus |
withLastStartTime(java.util.Date lastStartTime)
The time the recorder was last started.
|
ConfigurationRecorderStatus |
withLastStatus(RecorderStatus lastStatus)
The last (previous) status of the recorder.
|
ConfigurationRecorderStatus |
withLastStatus(java.lang.String lastStatus)
The last (previous) status of the recorder.
|
ConfigurationRecorderStatus |
withLastStatusChangeTime(java.util.Date lastStatusChangeTime)
The time when the status was last changed.
|
ConfigurationRecorderStatus |
withLastStopTime(java.util.Date lastStopTime)
The time the recorder was last stopped.
|
ConfigurationRecorderStatus |
withName(java.lang.String name)
The name of the configuration recorder.
|
ConfigurationRecorderStatus |
withRecording(java.lang.Boolean recording)
Specifies whether the recorder is currently recording or not.
|
private java.lang.String name
The name of the configuration recorder.
private java.util.Date lastStartTime
The time the recorder was last started.
private java.util.Date lastStopTime
The time the recorder was last stopped.
private java.lang.Boolean recording
Specifies whether the recorder is currently recording or not.
private java.lang.String lastStatus
The last (previous) status of the recorder.
private java.lang.String lastErrorCode
The error code indicating that the recording failed.
private java.lang.String lastErrorMessage
The message indicating that the recording failed due to an error.
private java.util.Date lastStatusChangeTime
The time when the status was last changed.
public void setName(java.lang.String name)
The name of the configuration recorder.
name
- The name of the configuration recorder.public java.lang.String getName()
The name of the configuration recorder.
public ConfigurationRecorderStatus withName(java.lang.String name)
The name of the configuration recorder.
name
- The name of the configuration recorder.public void setLastStartTime(java.util.Date lastStartTime)
The time the recorder was last started.
lastStartTime
- The time the recorder was last started.public java.util.Date getLastStartTime()
The time the recorder was last started.
public ConfigurationRecorderStatus withLastStartTime(java.util.Date lastStartTime)
The time the recorder was last started.
lastStartTime
- The time the recorder was last started.public void setLastStopTime(java.util.Date lastStopTime)
The time the recorder was last stopped.
lastStopTime
- The time the recorder was last stopped.public java.util.Date getLastStopTime()
The time the recorder was last stopped.
public ConfigurationRecorderStatus withLastStopTime(java.util.Date lastStopTime)
The time the recorder was last stopped.
lastStopTime
- The time the recorder was last stopped.public void setRecording(java.lang.Boolean recording)
Specifies whether the recorder is currently recording or not.
recording
- Specifies whether the recorder is currently recording or not.public java.lang.Boolean getRecording()
Specifies whether the recorder is currently recording or not.
public ConfigurationRecorderStatus withRecording(java.lang.Boolean recording)
Specifies whether the recorder is currently recording or not.
recording
- Specifies whether the recorder is currently recording or not.public java.lang.Boolean isRecording()
Specifies whether the recorder is currently recording or not.
public void setLastStatus(java.lang.String lastStatus)
The last (previous) status of the recorder.
lastStatus
- The last (previous) status of the recorder.RecorderStatus
public java.lang.String getLastStatus()
The last (previous) status of the recorder.
RecorderStatus
public ConfigurationRecorderStatus withLastStatus(java.lang.String lastStatus)
The last (previous) status of the recorder.
lastStatus
- The last (previous) status of the recorder.RecorderStatus
public void setLastStatus(RecorderStatus lastStatus)
The last (previous) status of the recorder.
lastStatus
- The last (previous) status of the recorder.RecorderStatus
public ConfigurationRecorderStatus withLastStatus(RecorderStatus lastStatus)
The last (previous) status of the recorder.
lastStatus
- The last (previous) status of the recorder.RecorderStatus
public void setLastErrorCode(java.lang.String lastErrorCode)
The error code indicating that the recording failed.
lastErrorCode
- The error code indicating that the recording failed.public java.lang.String getLastErrorCode()
The error code indicating that the recording failed.
public ConfigurationRecorderStatus withLastErrorCode(java.lang.String lastErrorCode)
The error code indicating that the recording failed.
lastErrorCode
- The error code indicating that the recording failed.public void setLastErrorMessage(java.lang.String lastErrorMessage)
The message indicating that the recording failed due to an error.
lastErrorMessage
- The message indicating that the recording failed due to an error.public java.lang.String getLastErrorMessage()
The message indicating that the recording failed due to an error.
public ConfigurationRecorderStatus withLastErrorMessage(java.lang.String lastErrorMessage)
The message indicating that the recording failed due to an error.
lastErrorMessage
- The message indicating that the recording failed due to an error.public void setLastStatusChangeTime(java.util.Date lastStatusChangeTime)
The time when the status was last changed.
lastStatusChangeTime
- The time when the status was last changed.public java.util.Date getLastStatusChangeTime()
The time when the status was last changed.
public ConfigurationRecorderStatus withLastStatusChangeTime(java.util.Date lastStatusChangeTime)
The time when the status was last changed.
lastStatusChangeTime
- The time when the status was last changed.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ConfigurationRecorderStatus clone()
clone
in class java.lang.Object