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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotLimits()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotLimits
clone()
boolean
equals(Object obj)
Integer
getManualSnapshotsCurrentCount()
The current number of manual snapshots of the directory.Integer
getManualSnapshotsLimit()
The maximum number of manual snapshots allowed.Boolean
getManualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.int
hashCode()
Boolean
isManualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.void
setManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)
The current number of manual snapshots of the directory.void
setManualSnapshotsLimit(Integer manualSnapshotsLimit)
The maximum number of manual snapshots allowed.void
setManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)
Indicates if the manual snapshot limit has been reached.String
toString()
Returns a string representation of this object; useful for testing and debugging.SnapshotLimits
withManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)
The current number of manual snapshots of the directory.SnapshotLimits
withManualSnapshotsLimit(Integer manualSnapshotsLimit)
The maximum number of manual snapshots allowed.SnapshotLimits
withManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)
Indicates if the manual snapshot limit has been reached.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SnapshotLimits clone()
-
-