@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 |
getDefaultVersionName()
The default version of the artifact associated with the document.
|
String |
getName()
The name of the document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultVersion(String defaultVersion)
The default version of the document.
|
void |
setDefaultVersionName(String defaultVersionName)
The default version of the artifact associated with the document.
|
void |
setName(String name)
The name of the document.
|
String |
toString()
Returns a string representation of this object.
|
DocumentDefaultVersionDescription |
withDefaultVersion(String defaultVersion)
The default version of the document.
|
DocumentDefaultVersionDescription |
withDefaultVersionName(String defaultVersionName)
The default version of the artifact associated with 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 void setDefaultVersionName(String defaultVersionName)
The default version of the artifact associated with the document.
defaultVersionName
- The default version of the artifact associated with the document.public String getDefaultVersionName()
The default version of the artifact associated with the document.
public DocumentDefaultVersionDescription withDefaultVersionName(String defaultVersionName)
The default version of the artifact associated with the document.
defaultVersionName
- The default version of the artifact associated with the document.public String toString()
toString
in class Object
Object.toString()
public DocumentDefaultVersionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.