@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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] The string identifier of the associated RestApi.
|
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] The string identifier of the associated RestApi.
|
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] The string identifier of the associated RestApi.
|
CreateDocumentationVersionRequest |
withStageName(String stageName)
The stage name to be associated with the new documentation snapshot.
|
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 setRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId
- [Required] The string identifier of the associated RestApi.public String getRestApiId()
[Required] The string identifier of the associated RestApi.
public CreateDocumentationVersionRequest withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId
- [Required] The string identifier of the associated RestApi.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.