public class SnapshotLimits
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains manual snapshot limit information for a directory.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
manualSnapshotsCurrentCount
The current number of manual snapshots of the directory.
|
private java.lang.Integer |
manualSnapshotsLimit
The maximum number of manual snapshots allowed.
|
private java.lang.Boolean |
manualSnapshotsLimitReached
Indicates if the manual snapshot limit has been reached.
|
Constructor and Description |
---|
SnapshotLimits() |
Modifier and Type | Method and Description |
---|---|
SnapshotLimits |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getManualSnapshotsCurrentCount()
The current number of manual snapshots of the directory.
|
java.lang.Integer |
getManualSnapshotsLimit()
The maximum number of manual snapshots allowed.
|
java.lang.Boolean |
getManualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.
|
int |
hashCode() |
java.lang.Boolean |
isManualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.
|
void |
setManualSnapshotsCurrentCount(java.lang.Integer manualSnapshotsCurrentCount)
The current number of manual snapshots of the directory.
|
void |
setManualSnapshotsLimit(java.lang.Integer manualSnapshotsLimit)
The maximum number of manual snapshots allowed.
|
void |
setManualSnapshotsLimitReached(java.lang.Boolean manualSnapshotsLimitReached)
Indicates if the manual snapshot limit has been reached.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SnapshotLimits |
withManualSnapshotsCurrentCount(java.lang.Integer manualSnapshotsCurrentCount)
The current number of manual snapshots of the directory.
|
SnapshotLimits |
withManualSnapshotsLimit(java.lang.Integer manualSnapshotsLimit)
The maximum number of manual snapshots allowed.
|
SnapshotLimits |
withManualSnapshotsLimitReached(java.lang.Boolean manualSnapshotsLimitReached)
Indicates if the manual snapshot limit has been reached.
|
private java.lang.Integer manualSnapshotsLimit
The maximum number of manual snapshots allowed.
private java.lang.Integer manualSnapshotsCurrentCount
The current number of manual snapshots of the directory.
private java.lang.Boolean manualSnapshotsLimitReached
Indicates if the manual snapshot limit has been reached.
public void setManualSnapshotsLimit(java.lang.Integer manualSnapshotsLimit)
The maximum number of manual snapshots allowed.
manualSnapshotsLimit
- The maximum number of manual snapshots allowed.public java.lang.Integer getManualSnapshotsLimit()
The maximum number of manual snapshots allowed.
public SnapshotLimits withManualSnapshotsLimit(java.lang.Integer manualSnapshotsLimit)
The maximum number of manual snapshots allowed.
manualSnapshotsLimit
- The maximum number of manual snapshots allowed.public void setManualSnapshotsCurrentCount(java.lang.Integer manualSnapshotsCurrentCount)
The current number of manual snapshots of the directory.
manualSnapshotsCurrentCount
- The current number of manual snapshots of the directory.public java.lang.Integer getManualSnapshotsCurrentCount()
The current number of manual snapshots of the directory.
public SnapshotLimits withManualSnapshotsCurrentCount(java.lang.Integer manualSnapshotsCurrentCount)
The current number of manual snapshots of the directory.
manualSnapshotsCurrentCount
- The current number of manual snapshots of the directory.public void setManualSnapshotsLimitReached(java.lang.Boolean manualSnapshotsLimitReached)
Indicates if the manual snapshot limit has been reached.
manualSnapshotsLimitReached
- Indicates if the manual snapshot limit has been reached.public java.lang.Boolean getManualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.
public SnapshotLimits withManualSnapshotsLimitReached(java.lang.Boolean manualSnapshotsLimitReached)
Indicates if the manual snapshot limit has been reached.
manualSnapshotsLimitReached
- Indicates if the manual snapshot limit has been reached.public java.lang.Boolean isManualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SnapshotLimits clone()
clone
in class java.lang.Object