@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) |
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)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.