@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationRecorderStatus extends Object implements Serializable, Cloneable, StructuredPojo
The current status of the configuration recorder.
For a detailed status of recording events over time, add your Config events to CloudWatch metrics and use CloudWatch metrics.
Constructor and Description |
---|
ConfigurationRecorderStatus() |
Modifier and Type | Method and Description |
---|---|
ConfigurationRecorderStatus |
clone() |
boolean |
equals(Object obj) |
String |
getLastErrorCode()
The latest error code from when the recorder last failed.
|
String |
getLastErrorMessage()
The latest error message from when the recorder last failed.
|
Date |
getLastStartTime()
The time the recorder was last started.
|
String |
getLastStatus()
The status of the latest recording event processed by the recorder.
|
Date |
getLastStatusChangeTime()
The time of the latest change in status of an recording event processed by the recorder.
|
Date |
getLastStopTime()
The time the recorder was last stopped.
|
String |
getName()
The name of the configuration recorder.
|
Boolean |
getRecording()
Specifies whether or not the recorder is currently recording.
|
int |
hashCode() |
Boolean |
isRecording()
Specifies whether or not the recorder is currently recording.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastErrorCode(String lastErrorCode)
The latest error code from when the recorder last failed.
|
void |
setLastErrorMessage(String lastErrorMessage)
The latest error message from when the recorder last failed.
|
void |
setLastStartTime(Date lastStartTime)
The time the recorder was last started.
|
void |
setLastStatus(RecorderStatus lastStatus)
The status of the latest recording event processed by the recorder.
|
void |
setLastStatus(String lastStatus)
The status of the latest recording event processed by the recorder.
|
void |
setLastStatusChangeTime(Date lastStatusChangeTime)
The time of the latest change in status of an recording event processed by the recorder.
|
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 or not the recorder is currently recording.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurationRecorderStatus |
withLastErrorCode(String lastErrorCode)
The latest error code from when the recorder last failed.
|
ConfigurationRecorderStatus |
withLastErrorMessage(String lastErrorMessage)
The latest error message from when the recorder last failed.
|
ConfigurationRecorderStatus |
withLastStartTime(Date lastStartTime)
The time the recorder was last started.
|
ConfigurationRecorderStatus |
withLastStatus(RecorderStatus lastStatus)
The status of the latest recording event processed by the recorder.
|
ConfigurationRecorderStatus |
withLastStatus(String lastStatus)
The status of the latest recording event processed by the recorder.
|
ConfigurationRecorderStatus |
withLastStatusChangeTime(Date lastStatusChangeTime)
The time of the latest change in status of an recording event processed by the recorder.
|
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 or not the recorder is currently recording.
|
public void setName(String name)
The name of the configuration recorder.
name
- The name of the configuration recorder.public String getName()
The name of the configuration recorder.
public ConfigurationRecorderStatus withName(String name)
The name of the configuration recorder.
name
- The name of the configuration recorder.public void setLastStartTime(Date lastStartTime)
The time the recorder was last started.
lastStartTime
- The time the recorder was last started.public Date getLastStartTime()
The time the recorder was last started.
public ConfigurationRecorderStatus withLastStartTime(Date lastStartTime)
The time the recorder was last started.
lastStartTime
- The time the recorder was last started.public void setLastStopTime(Date lastStopTime)
The time the recorder was last stopped.
lastStopTime
- The time the recorder was last stopped.public Date getLastStopTime()
The time the recorder was last stopped.
public ConfigurationRecorderStatus withLastStopTime(Date lastStopTime)
The time the recorder was last stopped.
lastStopTime
- The time the recorder was last stopped.public void setRecording(Boolean recording)
Specifies whether or not the recorder is currently recording.
recording
- Specifies whether or not the recorder is currently recording.public Boolean getRecording()
Specifies whether or not the recorder is currently recording.
public ConfigurationRecorderStatus withRecording(Boolean recording)
Specifies whether or not the recorder is currently recording.
recording
- Specifies whether or not the recorder is currently recording.public Boolean isRecording()
Specifies whether or not the recorder is currently recording.
public void setLastStatus(String lastStatus)
The status of the latest recording event processed by the recorder.
lastStatus
- The status of the latest recording event processed by the recorder.RecorderStatus
public String getLastStatus()
The status of the latest recording event processed by the recorder.
RecorderStatus
public ConfigurationRecorderStatus withLastStatus(String lastStatus)
The status of the latest recording event processed by the recorder.
lastStatus
- The status of the latest recording event processed by the recorder.RecorderStatus
public void setLastStatus(RecorderStatus lastStatus)
The status of the latest recording event processed by the recorder.
lastStatus
- The status of the latest recording event processed by the recorder.RecorderStatus
public ConfigurationRecorderStatus withLastStatus(RecorderStatus lastStatus)
The status of the latest recording event processed by the recorder.
lastStatus
- The status of the latest recording event processed by the recorder.RecorderStatus
public void setLastErrorCode(String lastErrorCode)
The latest error code from when the recorder last failed.
lastErrorCode
- The latest error code from when the recorder last failed.public String getLastErrorCode()
The latest error code from when the recorder last failed.
public ConfigurationRecorderStatus withLastErrorCode(String lastErrorCode)
The latest error code from when the recorder last failed.
lastErrorCode
- The latest error code from when the recorder last failed.public void setLastErrorMessage(String lastErrorMessage)
The latest error message from when the recorder last failed.
lastErrorMessage
- The latest error message from when the recorder last failed.public String getLastErrorMessage()
The latest error message from when the recorder last failed.
public ConfigurationRecorderStatus withLastErrorMessage(String lastErrorMessage)
The latest error message from when the recorder last failed.
lastErrorMessage
- The latest error message from when the recorder last failed.public void setLastStatusChangeTime(Date lastStatusChangeTime)
The time of the latest change in status of an recording event processed by the recorder.
lastStatusChangeTime
- The time of the latest change in status of an recording event processed by the recorder.public Date getLastStatusChangeTime()
The time of the latest change in status of an recording event processed by the recorder.
public ConfigurationRecorderStatus withLastStatusChangeTime(Date lastStatusChangeTime)
The time of the latest change in status of an recording event processed by the recorder.
lastStatusChangeTime
- The time of the latest change in status of an recording event processed by the recorder.public String toString()
toString
in class Object
Object.toString()
public ConfigurationRecorderStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.