@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDocumentRequest() |
Modifier and Type | Method and Description |
---|---|
GetDocumentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDocumentFormat()
Returns the document in the specified format.
|
String |
getDocumentVersion()
The document version for which you want information.
|
String |
getName()
The name of the Systems Manager document.
|
String |
getVersionName()
An optional field specifying the version of the artifact associated with the document.
|
int |
hashCode() |
void |
setDocumentFormat(String documentFormat)
Returns the document in the specified format.
|
void |
setDocumentVersion(String documentVersion)
The document version for which you want information.
|
void |
setName(String name)
The name of the Systems Manager document.
|
void |
setVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document.
|
String |
toString()
Returns a string representation of this object.
|
GetDocumentRequest |
withDocumentFormat(DocumentFormat documentFormat)
Returns the document in the specified format.
|
GetDocumentRequest |
withDocumentFormat(String documentFormat)
Returns the document in the specified format.
|
GetDocumentRequest |
withDocumentVersion(String documentVersion)
The document version for which you want information.
|
GetDocumentRequest |
withName(String name)
The name of the Systems Manager document.
|
GetDocumentRequest |
withVersionName(String versionName)
An optional field specifying the version of the artifact associated with 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 setName(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager document.public String getName()
The name of the Systems Manager document.
public GetDocumentRequest withName(String name)
The name of the Systems Manager document.
name
- The name of the Systems Manager document.public void setVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
versionName
- An optional field specifying the version of the artifact associated with the document. For example,
"Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.public String getVersionName()
An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
public GetDocumentRequest withVersionName(String versionName)
An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.
versionName
- An optional field specifying the version of the artifact associated with the document. For example,
"Release 12, Update 6". This value is unique across all versions of a document, and cannot be changed.public void setDocumentVersion(String documentVersion)
The document version for which you want information.
documentVersion
- The document version for which you want information.public String getDocumentVersion()
The document version for which you want information.
public GetDocumentRequest withDocumentVersion(String documentVersion)
The document version for which you want information.
documentVersion
- The document version for which you want information.public void setDocumentFormat(String documentFormat)
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
documentFormat
- Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the
default format.DocumentFormat
public String getDocumentFormat()
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
DocumentFormat
public GetDocumentRequest withDocumentFormat(String documentFormat)
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
documentFormat
- Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the
default format.DocumentFormat
public GetDocumentRequest withDocumentFormat(DocumentFormat documentFormat)
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
documentFormat
- Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the
default format.DocumentFormat
public String toString()
toString
in class Object
Object.toString()
public GetDocumentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.