Class SnapshotLimits
java.lang.Object
com.amazonaws.services.directory.model.SnapshotLimits
- All Implemented Interfaces:
Serializable
,Cloneable
Contains manual snapshot limit information for a directory.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The current number of manual snapshots of the directory.The maximum number of manual snapshots allowed.Indicates if the manual snapshot limit has been reached.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withManualSnapshotsCurrentCount
(Integer manualSnapshotsCurrentCount) The current number of manual snapshots of the directory.withManualSnapshotsLimit
(Integer manualSnapshotsLimit) The maximum number of manual snapshots allowed.withManualSnapshotsLimitReached
(Boolean manualSnapshotsLimitReached) Indicates if the manual snapshot limit has been reached.
-
Constructor Details
-
SnapshotLimits
public SnapshotLimits()
-
-
Method Details
-
setManualSnapshotsLimit
The maximum number of manual snapshots allowed.
- Parameters:
manualSnapshotsLimit
- The maximum number of manual snapshots allowed.
-
getManualSnapshotsLimit
The maximum number of manual snapshots allowed.
- Returns:
- The maximum number of manual snapshots allowed.
-
withManualSnapshotsLimit
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
The current number of manual snapshots of the directory.
- Parameters:
manualSnapshotsCurrentCount
- The current number of manual snapshots of the directory.
-
getManualSnapshotsCurrentCount
The current number of manual snapshots of the directory.
- Returns:
- The current number of manual snapshots of the directory.
-
withManualSnapshotsCurrentCount
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
Indicates if the manual snapshot limit has been reached.
- Parameters:
manualSnapshotsLimitReached
- Indicates if the manual snapshot limit has been reached.
-
getManualSnapshotsLimitReached
Indicates if the manual snapshot limit has been reached.
- Returns:
- Indicates if the manual snapshot limit has been reached.
-
withManualSnapshotsLimitReached
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
Indicates if the manual snapshot limit has been reached.
- Returns:
- Indicates if the manual snapshot limit has been reached.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-