@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotLimits extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setManualSnapshotsLimit(Integer manualSnapshotsLimit)
The maximum number of manual snapshots allowed.
manualSnapshotsLimit
- The maximum number of manual snapshots allowed.public Integer getManualSnapshotsLimit()
The maximum number of manual snapshots allowed.
public SnapshotLimits withManualSnapshotsLimit(Integer manualSnapshotsLimit)
The maximum number of manual snapshots allowed.
manualSnapshotsLimit
- The maximum number of manual snapshots allowed.public void setManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)
The current number of manual snapshots of the directory.
manualSnapshotsCurrentCount
- The current number of manual snapshots of the directory.public Integer getManualSnapshotsCurrentCount()
The current number of manual snapshots of the directory.
public SnapshotLimits withManualSnapshotsCurrentCount(Integer manualSnapshotsCurrentCount)
The current number of manual snapshots of the directory.
manualSnapshotsCurrentCount
- The current number of manual snapshots of the directory.public void setManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)
Indicates if the manual snapshot limit has been reached.
manualSnapshotsLimitReached
- Indicates if the manual snapshot limit has been reached.public Boolean getManualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.
public SnapshotLimits withManualSnapshotsLimitReached(Boolean manualSnapshotsLimitReached)
Indicates if the manual snapshot limit has been reached.
manualSnapshotsLimitReached
- Indicates if the manual snapshot limit has been reached.public Boolean isManualSnapshotsLimitReached()
Indicates if the manual snapshot limit has been reached.
public String toString()
toString
in class Object
Object.toString()
public SnapshotLimits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.