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 SnapshotLimitsclone()booleanequals(Object obj)IntegergetManualSnapshotsCurrentCount()The current number of manual snapshots of the directory.IntegergetManualSnapshotsLimit()The maximum number of manual snapshots allowed.BooleangetManualSnapshotsLimitReached()Indicates if the manual snapshot limit has been reached.inthashCode()BooleanisManualSnapshotsLimitReached()Indicates if the manual snapshot limit has been reached.voidsetManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)The current number of manual snapshots of the directory.voidsetManualSnapshotsLimit(Integer manualSnapshotsLimit)The maximum number of manual snapshots allowed.voidsetManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)Indicates if the manual snapshot limit has been reached.StringtoString()Returns a string representation of this object; useful for testing and debugging.SnapshotLimitswithManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)The current number of manual snapshots of the directory.SnapshotLimitswithManualSnapshotsLimit(Integer manualSnapshotsLimit)The maximum number of manual snapshots allowed.SnapshotLimitswithManualSnapshotsLimitReached(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SnapshotLimits clone()
-
-