@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentVersionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Version information about the document.
Constructor and Description |
---|
DocumentVersionInfo() |
Modifier and Type | Method and Description |
---|---|
DocumentVersionInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date the document was created.
|
String |
getDocumentVersion()
The document version.
|
Boolean |
getIsDefaultVersion()
An identifier for the default version of the document.
|
String |
getName()
The document name.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
An identifier for the default version of the document.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The date the document was created.
|
void |
setDocumentVersion(String documentVersion)
The document version.
|
void |
setIsDefaultVersion(Boolean isDefaultVersion)
An identifier for the default version of the document.
|
void |
setName(String name)
The document name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DocumentVersionInfo |
withCreatedDate(Date createdDate)
The date the document was created.
|
DocumentVersionInfo |
withDocumentVersion(String documentVersion)
The document version.
|
DocumentVersionInfo |
withIsDefaultVersion(Boolean isDefaultVersion)
An identifier for the default version of the document.
|
DocumentVersionInfo |
withName(String name)
The document name.
|
public void setName(String name)
The document name.
name
- The document name.public String getName()
The document name.
public DocumentVersionInfo withName(String name)
The document name.
name
- The document name.public void setDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public String getDocumentVersion()
The document version.
public DocumentVersionInfo withDocumentVersion(String documentVersion)
The document version.
documentVersion
- The document version.public void setCreatedDate(Date createdDate)
The date the document was created.
createdDate
- The date the document was created.public Date getCreatedDate()
The date the document was created.
public DocumentVersionInfo withCreatedDate(Date createdDate)
The date the document was created.
createdDate
- The date the document was created.public void setIsDefaultVersion(Boolean isDefaultVersion)
An identifier for the default version of the document.
isDefaultVersion
- An identifier for the default version of the document.public Boolean getIsDefaultVersion()
An identifier for the default version of the document.
public DocumentVersionInfo withIsDefaultVersion(Boolean isDefaultVersion)
An identifier for the default version of the document.
isDefaultVersion
- An identifier for the default version of the document.public Boolean isDefaultVersion()
An identifier for the default version of the document.
public String toString()
toString
in class Object
Object.toString()
public DocumentVersionInfo 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.