@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentDefaultVersionDescription extends Object implements Serializable, Cloneable, StructuredPojo
A default version of a document.
Constructor and Description |
---|
DocumentDefaultVersionDescription() |
Modifier and Type | Method and Description |
---|---|
DocumentDefaultVersionDescription |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultVersion()
The default version of the document.
|
String |
getName()
The name of the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDefaultVersion(String defaultVersion)
The default version of the document.
|
void |
setName(String name)
The name of the document.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DocumentDefaultVersionDescription |
withDefaultVersion(String defaultVersion)
The default version of the document.
|
DocumentDefaultVersionDescription |
withName(String name)
The name of the document.
|
public void setName(String name)
The name of the document.
name
- The name of the document.public String getName()
The name of the document.
public DocumentDefaultVersionDescription withName(String name)
The name of the document.
name
- The name of the document.public void setDefaultVersion(String defaultVersion)
The default version of the document.
defaultVersion
- The default version of the document.public String getDefaultVersion()
The default version of the document.
public DocumentDefaultVersionDescription withDefaultVersion(String defaultVersion)
The default version of the document.
defaultVersion
- The default version of the document.public String toString()
toString
in class Object
Object.toString()
public DocumentDefaultVersionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.