@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VersioningConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Information about the versioning of data set contents.
Constructor and Description |
---|
VersioningConfiguration() |
Modifier and Type | Method and Description |
---|---|
VersioningConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxVersions()
How many versions of data set contents will be kept.
|
Boolean |
getUnlimited()
If true, unlimited versions of data set contents will be kept.
|
int |
hashCode() |
Boolean |
isUnlimited()
If true, unlimited versions of data set contents will be kept.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxVersions(Integer maxVersions)
How many versions of data set contents will be kept.
|
void |
setUnlimited(Boolean unlimited)
If true, unlimited versions of data set contents will be kept.
|
String |
toString()
Returns a string representation of this object.
|
VersioningConfiguration |
withMaxVersions(Integer maxVersions)
How many versions of data set contents will be kept.
|
VersioningConfiguration |
withUnlimited(Boolean unlimited)
If true, unlimited versions of data set contents will be kept.
|
public void setUnlimited(Boolean unlimited)
If true, unlimited versions of data set contents will be kept.
unlimited
- If true, unlimited versions of data set contents will be kept.public Boolean getUnlimited()
If true, unlimited versions of data set contents will be kept.
public VersioningConfiguration withUnlimited(Boolean unlimited)
If true, unlimited versions of data set contents will be kept.
unlimited
- If true, unlimited versions of data set contents will be kept.public Boolean isUnlimited()
If true, unlimited versions of data set contents will be kept.
public void setMaxVersions(Integer maxVersions)
How many versions of data set contents will be kept. The "unlimited" parameter must be false.
maxVersions
- How many versions of data set contents will be kept. The "unlimited" parameter must be false.public Integer getMaxVersions()
How many versions of data set contents will be kept. The "unlimited" parameter must be false.
public VersioningConfiguration withMaxVersions(Integer maxVersions)
How many versions of data set contents will be kept. The "unlimited" parameter must be false.
maxVersions
- How many versions of data set contents will be kept. The "unlimited" parameter must be false.public String toString()
toString
in class Object
Object.toString()
public VersioningConfiguration 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.