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