public class CreateDocumentationVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a new documentation version of a given API.
NOOP
Constructor and Description |
---|
CreateDocumentationVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDocumentationVersionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description about the new documentation snapshot.
|
String |
getDocumentationVersion()
[Required] The version identifier of the new snapshot.
|
String |
getRestApiId()
[Required] Specifies the API identifier of the to-be-created documentation version.
|
String |
getStageName()
The stage name to be associated with the new documentation snapshot.
|
int |
hashCode() |
void |
setDescription(String description)
A description about the new documentation snapshot.
|
void |
setDocumentationVersion(String documentationVersion)
[Required] The version identifier of the new snapshot.
|
void |
setRestApiId(String restApiId)
[Required] Specifies the API identifier of the to-be-created documentation version.
|
void |
setStageName(String stageName)
The stage name to be associated with the new documentation snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDocumentationVersionRequest |
withDescription(String description)
A description about the new documentation snapshot.
|
CreateDocumentationVersionRequest |
withDocumentationVersion(String documentationVersion)
[Required] The version identifier of the new snapshot.
|
CreateDocumentationVersionRequest |
withRestApiId(String restApiId)
[Required] Specifies the API identifier of the to-be-created documentation version.
|
CreateDocumentationVersionRequest |
withStageName(String stageName)
The stage name to be associated with the new documentation snapshot.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRestApiId(String restApiId)
[Required] Specifies the API identifier of the to-be-created documentation version.
restApiId
- [Required] Specifies the API identifier of the to-be-created documentation version.public String getRestApiId()
[Required] Specifies the API identifier of the to-be-created documentation version.
public CreateDocumentationVersionRequest withRestApiId(String restApiId)
[Required] Specifies the API identifier of the to-be-created documentation version.
restApiId
- [Required] Specifies the API identifier of the to-be-created documentation version.public void setDocumentationVersion(String documentationVersion)
[Required] The version identifier of the new snapshot.
documentationVersion
- [Required] The version identifier of the new snapshot.public String getDocumentationVersion()
[Required] The version identifier of the new snapshot.
public CreateDocumentationVersionRequest withDocumentationVersion(String documentationVersion)
[Required] The version identifier of the new snapshot.
documentationVersion
- [Required] The version identifier of the new snapshot.public void setStageName(String stageName)
The stage name to be associated with the new documentation snapshot.
stageName
- The stage name to be associated with the new documentation snapshot.public String getStageName()
The stage name to be associated with the new documentation snapshot.
public CreateDocumentationVersionRequest withStageName(String stageName)
The stage name to be associated with the new documentation snapshot.
stageName
- The stage name to be associated with the new documentation snapshot.public void setDescription(String description)
A description about the new documentation snapshot.
description
- A description about the new documentation snapshot.public String getDescription()
A description about the new documentation snapshot.
public CreateDocumentationVersionRequest withDescription(String description)
A description about the new documentation snapshot.
description
- A description about the new documentation snapshot.public String toString()
toString
in class Object
Object.toString()
public CreateDocumentationVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.