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:
  • Constructor Details

    • ConfigurationRecorderStatus

      public ConfigurationRecorderStatus()
  • Method Details

    • 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:
    • getLastStatus

      public String getLastStatus()

      The last (previous) status of the recorder.

      Returns:
      The last (previous) status of the recorder.
      See Also:
    • 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:
    • setLastStatus

      public void setLastStatus(RecorderStatus lastStatus)

      The last (previous) status of the recorder.

      Parameters:
      lastStatus - The last (previous) status of the recorder.
      See Also:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object