@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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.DocumentFormat
public String getDocumentFormat()
Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.
DocumentFormat
public 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.DocumentFormat
public 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.DocumentFormat
public 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 Object
Object.toString()
public UpdateDocumentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.