@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDocumentDefaultVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDocumentDefaultVersionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDocumentDefaultVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDocumentVersion()
The version of a custom document that you want to set as the default version.
|
String |
getName()
The name of a custom document that you want to set as the default version.
|
int |
hashCode() |
void |
setDocumentVersion(String documentVersion)
The version of a custom document that you want to set as the default version.
|
void |
setName(String name)
The name of a custom document that you want to set as the default version.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDocumentDefaultVersionRequest |
withDocumentVersion(String documentVersion)
The version of a custom document that you want to set as the default version.
|
UpdateDocumentDefaultVersionRequest |
withName(String name)
The name of a custom document that you want to set as the default version.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of a custom document that you want to set as the default version.
name
- The name of a custom document that you want to set as the default version.public String getName()
The name of a custom document that you want to set as the default version.
public UpdateDocumentDefaultVersionRequest withName(String name)
The name of a custom document that you want to set as the default version.
name
- The name of a custom document that you want to set as the default version.public void setDocumentVersion(String documentVersion)
The version of a custom document that you want to set as the default version.
documentVersion
- The version of a custom document that you want to set as the default version.public String getDocumentVersion()
The version of a custom document that you want to set as the default version.
public UpdateDocumentDefaultVersionRequest withDocumentVersion(String documentVersion)
The version of a custom document that you want to set as the default version.
documentVersion
- The version of a custom document that you want to set as the default version.public String toString()
toString
in class Object
Object.toString()
public UpdateDocumentDefaultVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()