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 ConfigurationRecorderStatusclone()booleanequals(Object obj)StringgetLastErrorCode()The error code indicating that the recording failed.StringgetLastErrorMessage()The message indicating that the recording failed due to an error.DategetLastStartTime()The time the recorder was last started.StringgetLastStatus()The last (previous) status of the recorder.DategetLastStatusChangeTime()The time when the status was last changed.DategetLastStopTime()The time the recorder was last stopped.StringgetName()The name of the configuration recorder.BooleangetRecording()Specifies whether the recorder is currently recording or not.inthashCode()BooleanisRecording()Specifies whether the recorder is currently recording or not.voidsetLastErrorCode(String lastErrorCode)The error code indicating that the recording failed.voidsetLastErrorMessage(String lastErrorMessage)The message indicating that the recording failed due to an error.voidsetLastStartTime(Date lastStartTime)The time the recorder was last started.voidsetLastStatus(RecorderStatus lastStatus)The last (previous) status of the recorder.voidsetLastStatus(String lastStatus)The last (previous) status of the recorder.voidsetLastStatusChangeTime(Date lastStatusChangeTime)The time when the status was last changed.voidsetLastStopTime(Date lastStopTime)The time the recorder was last stopped.voidsetName(String name)The name of the configuration recorder.voidsetRecording(Boolean recording)Specifies whether the recorder is currently recording or not.StringtoString()Returns a string representation of this object; useful for testing and debugging.ConfigurationRecorderStatuswithLastErrorCode(String lastErrorCode)The error code indicating that the recording failed.ConfigurationRecorderStatuswithLastErrorMessage(String lastErrorMessage)The message indicating that the recording failed due to an error.ConfigurationRecorderStatuswithLastStartTime(Date lastStartTime)The time the recorder was last started.ConfigurationRecorderStatuswithLastStatus(RecorderStatus lastStatus)The last (previous) status of the recorder.ConfigurationRecorderStatuswithLastStatus(String lastStatus)The last (previous) status of the recorder.ConfigurationRecorderStatuswithLastStatusChangeTime(Date lastStatusChangeTime)The time when the status was last changed.ConfigurationRecorderStatuswithLastStopTime(Date lastStopTime)The time the recorder was last stopped.ConfigurationRecorderStatuswithName(String name)The name of the configuration recorder.ConfigurationRecorderStatuswithRecording(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfigurationRecorderStatus clone()
-
-