@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetainRule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the number of snapshots to keep for each EBS volume.
| Constructor and Description |
|---|
RetainRule() |
| Modifier and Type | Method and Description |
|---|---|
RetainRule |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of snapshots to keep for each volume, up to a maximum of 1000.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCount(Integer count)
The number of snapshots to keep for each volume, up to a maximum of 1000.
|
String |
toString()
Returns a string representation of this object.
|
RetainRule |
withCount(Integer count)
The number of snapshots to keep for each volume, up to a maximum of 1000.
|
public void setCount(Integer count)
The number of snapshots to keep for each volume, up to a maximum of 1000.
count - The number of snapshots to keep for each volume, up to a maximum of 1000.public Integer getCount()
The number of snapshots to keep for each volume, up to a maximum of 1000.
public RetainRule withCount(Integer count)
The number of snapshots to keep for each volume, up to a maximum of 1000.
count - The number of snapshots to keep for each volume, up to a maximum of 1000.public String toString()
toString in class ObjectObject.toString()public RetainRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.