@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateDocumentRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateDocumentRequest |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The content in a document that you want to update.
|
String |
getDocumentFormat()
Specify the document format for the new document version.
|
String |
getDocumentVersion()
The version of the document that you want to update.
|
String |
getName()
The name of the document that you want to update.
|
String |
getTargetType()
Specify a new target type for the document.
|
int |
hashCode() |
void |
setContent(String content)
The content in a document that you want to update.
|
void |
setDocumentFormat(String documentFormat)
Specify the document format for the new document version.
|
void |
setDocumentVersion(String documentVersion)
The version of the document that you want to update.
|
void |
setName(String name)
The name of the document that you want to update.
|
void |
setTargetType(String targetType)
Specify a new target type for the document.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateDocumentRequest |
withContent(String content)
The content in a document that you want to update.
|
UpdateDocumentRequest |
withDocumentFormat(DocumentFormat documentFormat)
Specify the document format for the new document version.
|
UpdateDocumentRequest |
withDocumentFormat(String documentFormat)
Specify the document format for the new document version.
|
UpdateDocumentRequest |
withDocumentVersion(String documentVersion)
The version of the document that you want to update.
|
UpdateDocumentRequest |
withName(String name)
The name of the document that you want to update.
|
UpdateDocumentRequest |
withTargetType(String targetType)
Specify a new target type for the document.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setContent(String content)
The content in a document that you want to update.
content - The content in a document that you want to update.public String getContent()
The content in a document that you want to update.
public UpdateDocumentRequest withContent(String content)
The content in a document that you want to update.
content - The content in a document that you want to update.public void setName(String name)
The name of the document that you want to update.
name - The name of the document that you want to update.public String getName()
The name of the document that you want to update.
public UpdateDocumentRequest withName(String name)
The name of the document that you want to update.
name - The name of the document that you want to update.public void setDocumentVersion(String documentVersion)
The version of the document that you want to update.
documentVersion - The version of the document that you want to update.public String getDocumentVersion()
The version of the document that you want to update.
public UpdateDocumentRequest withDocumentVersion(String documentVersion)
The version of the document that you want to update.
documentVersion - The version of the document that you want to update.public void setDocumentFormat(String documentFormat)
Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.
documentFormat - Specify the document format for the new document version. Systems Manager supports JSON and YAML
documents. JSON is the default format.DocumentFormatpublic String getDocumentFormat()
Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.
DocumentFormatpublic UpdateDocumentRequest withDocumentFormat(String documentFormat)
Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.
documentFormat - Specify the document format for the new document version. Systems Manager supports JSON and YAML
documents. JSON is the default format.DocumentFormatpublic UpdateDocumentRequest withDocumentFormat(DocumentFormat documentFormat)
Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.
documentFormat - Specify the document format for the new document version. Systems Manager supports JSON and YAML
documents. JSON is the default format.DocumentFormatpublic void setTargetType(String targetType)
Specify a new target type for the document.
targetType - Specify a new target type for the document.public String getTargetType()
Specify a new target type for the document.
public UpdateDocumentRequest withTargetType(String targetType)
Specify a new target type for the document.
targetType - Specify a new target type for the document.public String toString()
toString in class ObjectObject.toString()public UpdateDocumentRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.