@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.
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 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 the recorder is currently recording or not.
recording
- Specifies whether the recorder is currently recording or not.public Boolean getRecording()
Specifies whether the recorder is currently recording or not.
public ConfigurationRecorderStatus withRecording(Boolean recording)
Specifies whether the recorder is currently recording or not.
recording
- Specifies whether the recorder is currently recording or not.public Boolean isRecording()
Specifies whether the recorder is currently recording or not.
public void setLastStatus(String lastStatus)
The last (previous) status of the recorder.
lastStatus
- The last (previous) status of the recorder.RecorderStatus
public String getLastStatus()
The last (previous) status of the recorder.
RecorderStatus
public ConfigurationRecorderStatus withLastStatus(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(String lastErrorCode)
The error code indicating that the recording failed.
lastErrorCode
- The error code indicating that the recording failed.public String getLastErrorCode()
The error code indicating that the recording failed.
public ConfigurationRecorderStatus withLastErrorCode(String lastErrorCode)
The error code indicating that the recording failed.
lastErrorCode
- The error code indicating that the recording failed.public void setLastErrorMessage(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 String getLastErrorMessage()
The message indicating that the recording failed due to an error.
public ConfigurationRecorderStatus withLastErrorMessage(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(Date lastStatusChangeTime)
The time when the status was last changed.
lastStatusChangeTime
- The time when the status was last changed.public Date getLastStatusChangeTime()
The time when the status was last changed.
public ConfigurationRecorderStatus withLastStatusChangeTime(Date lastStatusChangeTime)
The time when the status was last changed.
lastStatusChangeTime
- The time when the status was last changed.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.