public class SnapshotLimits extends Object implements Serializable, Cloneable
Contains manual snapshot limit information for a directory.
| Constructor and Description |
|---|
SnapshotLimits() |
| Modifier and Type | Method and 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.
|
public Integer getManualSnapshotsLimit()
Constraints:
Range: 0 -
public void setManualSnapshotsLimit(Integer manualSnapshotsLimit)
Constraints:
Range: 0 -
manualSnapshotsLimit - The maximum number of manual snapshots allowed.public SnapshotLimits withManualSnapshotsLimit(Integer manualSnapshotsLimit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
manualSnapshotsLimit - The maximum number of manual snapshots allowed.public Integer getManualSnapshotsCurrentCount()
Constraints:
Range: 0 -
public void setManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)
Constraints:
Range: 0 -
manualSnapshotsCurrentCount - The current number of manual snapshots of the directory.public SnapshotLimits withManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
manualSnapshotsCurrentCount - The current number of manual snapshots of the directory.public Boolean isManualSnapshotsLimitReached()
public void setManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)
manualSnapshotsLimitReached - Indicates if the manual snapshot limit has been reached.public SnapshotLimits withManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)
Returns a reference to this object so that method calls can be chained together.
manualSnapshotsLimitReached - Indicates if the manual snapshot limit has been reached.public Boolean getManualSnapshotsLimitReached()
public String toString()
toString in class ObjectObject.toString()public SnapshotLimits clone()
Copyright © 2015. All rights reserved.