Class SnapshotLimits

java.lang.Object
com.amazonaws.services.directory.model.SnapshotLimits
All Implemented Interfaces:
Serializable, Cloneable

public class SnapshotLimits extends Object implements Serializable, Cloneable

Contains manual snapshot limit information for a directory.

See Also:
  • Constructor Details

    • SnapshotLimits

      public SnapshotLimits()
  • Method Details

    • setManualSnapshotsLimit

      public void setManualSnapshotsLimit(Integer manualSnapshotsLimit)

      The maximum number of manual snapshots allowed.

      Parameters:
      manualSnapshotsLimit - The maximum number of manual snapshots allowed.
    • getManualSnapshotsLimit

      public Integer getManualSnapshotsLimit()

      The maximum number of manual snapshots allowed.

      Returns:
      The maximum number of manual snapshots allowed.
    • withManualSnapshotsLimit

      public SnapshotLimits withManualSnapshotsLimit(Integer manualSnapshotsLimit)

      The maximum number of manual snapshots allowed.

      Parameters:
      manualSnapshotsLimit - The maximum number of manual snapshots allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setManualSnapshotsCurrentCount

      public void setManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)

      The current number of manual snapshots of the directory.

      Parameters:
      manualSnapshotsCurrentCount - The current number of manual snapshots of the directory.
    • getManualSnapshotsCurrentCount

      public Integer getManualSnapshotsCurrentCount()

      The current number of manual snapshots of the directory.

      Returns:
      The current number of manual snapshots of the directory.
    • withManualSnapshotsCurrentCount

      public SnapshotLimits withManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)

      The current number of manual snapshots of the directory.

      Parameters:
      manualSnapshotsCurrentCount - The current number of manual snapshots of the directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setManualSnapshotsLimitReached

      public void setManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)

      Indicates if the manual snapshot limit has been reached.

      Parameters:
      manualSnapshotsLimitReached - Indicates if the manual snapshot limit has been reached.
    • getManualSnapshotsLimitReached

      public Boolean getManualSnapshotsLimitReached()

      Indicates if the manual snapshot limit has been reached.

      Returns:
      Indicates if the manual snapshot limit has been reached.
    • withManualSnapshotsLimitReached

      public SnapshotLimits withManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)

      Indicates if the manual snapshot limit has been reached.

      Parameters:
      manualSnapshotsLimitReached - Indicates if the manual snapshot limit has been reached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isManualSnapshotsLimitReached

      public Boolean isManualSnapshotsLimitReached()

      Indicates if the manual snapshot limit has been reached.

      Returns:
      Indicates if the manual snapshot limit has been reached.
    • 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

      public SnapshotLimits clone()
      Overrides:
      clone in class Object