Class ConfigurationRecorderStatus
- java.lang.Object
-
- com.amazonaws.services.config.model.ConfigurationRecorderStatus
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ConfigurationRecorderStatus extends Object implements Serializable, Cloneable
The current status of the configuration recorder.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationRecorderStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the configuration recorder.
- Parameters:
name
- The name of the configuration recorder.
-
getName
public String getName()
The name of the configuration recorder.
- Returns:
- The name of the configuration recorder.
-
withName
public ConfigurationRecorderStatus withName(String name)
The name of the configuration recorder.
- Parameters:
name
- The name of the configuration recorder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastStartTime
public void setLastStartTime(Date lastStartTime)
The time the recorder was last started.
- Parameters:
lastStartTime
- The time the recorder was last started.
-
getLastStartTime
public Date getLastStartTime()
The time the recorder was last started.
- Returns:
- The time the recorder was last started.
-
withLastStartTime
public ConfigurationRecorderStatus withLastStartTime(Date lastStartTime)
The time the recorder was last started.
- Parameters:
lastStartTime
- The time the recorder was last started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastStopTime
public void setLastStopTime(Date lastStopTime)
The time the recorder was last stopped.
- Parameters:
lastStopTime
- The time the recorder was last stopped.
-
getLastStopTime
public Date getLastStopTime()
The time the recorder was last stopped.
- Returns:
- The time the recorder was last stopped.
-
withLastStopTime
public ConfigurationRecorderStatus withLastStopTime(Date lastStopTime)
The time the recorder was last stopped.
- Parameters:
lastStopTime
- The time the recorder was last stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecording
public void setRecording(Boolean recording)
Specifies whether the recorder is currently recording or not.
- Parameters:
recording
- Specifies whether the recorder is currently recording or not.
-
getRecording
public Boolean getRecording()
Specifies whether the recorder is currently recording or not.
- Returns:
- Specifies whether the recorder is currently recording or not.
-
withRecording
public ConfigurationRecorderStatus withRecording(Boolean recording)
Specifies whether the recorder is currently recording or not.
- Parameters:
recording
- Specifies whether the recorder is currently recording or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRecording
public Boolean isRecording()
Specifies whether the recorder is currently recording or not.
- Returns:
- Specifies whether the recorder is currently recording or not.
-
setLastStatus
public void setLastStatus(String lastStatus)
The last (previous) status of the recorder.
- Parameters:
lastStatus
- The last (previous) status of the recorder.- See Also:
RecorderStatus
-
getLastStatus
public String getLastStatus()
The last (previous) status of the recorder.
- Returns:
- The last (previous) status of the recorder.
- See Also:
RecorderStatus
-
withLastStatus
public ConfigurationRecorderStatus withLastStatus(String lastStatus)
The last (previous) status of the recorder.
- Parameters:
lastStatus
- The last (previous) status of the recorder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecorderStatus
-
setLastStatus
public void setLastStatus(RecorderStatus lastStatus)
The last (previous) status of the recorder.
- Parameters:
lastStatus
- The last (previous) status of the recorder.- See Also:
RecorderStatus
-
withLastStatus
public ConfigurationRecorderStatus withLastStatus(RecorderStatus lastStatus)
The last (previous) status of the recorder.
- Parameters:
lastStatus
- The last (previous) status of the recorder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecorderStatus
-
setLastErrorCode
public void setLastErrorCode(String lastErrorCode)
The error code indicating that the recording failed.
- Parameters:
lastErrorCode
- The error code indicating that the recording failed.
-
getLastErrorCode
public String getLastErrorCode()
The error code indicating that the recording failed.
- Returns:
- The error code indicating that the recording failed.
-
withLastErrorCode
public ConfigurationRecorderStatus withLastErrorCode(String lastErrorCode)
The error code indicating that the recording failed.
- Parameters:
lastErrorCode
- The error code indicating that the recording failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastErrorMessage
public void setLastErrorMessage(String lastErrorMessage)
The message indicating that the recording failed due to an error.
- Parameters:
lastErrorMessage
- The message indicating that the recording failed due to an error.
-
getLastErrorMessage
public String getLastErrorMessage()
The message indicating that the recording failed due to an error.
- Returns:
- The message indicating that the recording failed due to an error.
-
withLastErrorMessage
public ConfigurationRecorderStatus withLastErrorMessage(String lastErrorMessage)
The message indicating that the recording failed due to an error.
- Parameters:
lastErrorMessage
- The message indicating that the recording failed due to an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastStatusChangeTime
public void setLastStatusChangeTime(Date lastStatusChangeTime)
The time when the status was last changed.
- Parameters:
lastStatusChangeTime
- The time when the status was last changed.
-
getLastStatusChangeTime
public Date getLastStatusChangeTime()
The time when the status was last changed.
- Returns:
- The time when the status was last changed.
-
withLastStatusChangeTime
public ConfigurationRecorderStatus withLastStatusChangeTime(Date lastStatusChangeTime)
The time when the status was last changed.
- Parameters:
lastStatusChangeTime
- The time when the status was last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfigurationRecorderStatus clone()
-
-