@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDocumentationPartRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a new documentation part of a given API.
NOOP
Constructor and Description |
---|
CreateDocumentationPartRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDocumentationPartRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DocumentationPartLocation |
getLocation()
[Required] The location of the targeted API entity of the to-be-created documentation part.
|
String |
getProperties()
[Required] The new documentation content map of the targeted API entity.
|
String |
getRestApiId()
[Required] The string identifier of the associated RestApi.
|
int |
hashCode() |
void |
setLocation(DocumentationPartLocation location)
[Required] The location of the targeted API entity of the to-be-created documentation part.
|
void |
setProperties(String properties)
[Required] The new documentation content map of the targeted API entity.
|
void |
setRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDocumentationPartRequest |
withLocation(DocumentationPartLocation location)
[Required] The location of the targeted API entity of the to-be-created documentation part.
|
CreateDocumentationPartRequest |
withProperties(String properties)
[Required] The new documentation content map of the targeted API entity.
|
CreateDocumentationPartRequest |
withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
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 CreateDocumentationPartRequest withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId
- [Required] The string identifier of the associated RestApi.public void setLocation(DocumentationPartLocation location)
[Required] The location of the targeted API entity of the to-be-created documentation part.
location
- [Required] The location of the targeted API entity of the to-be-created documentation part.public DocumentationPartLocation getLocation()
[Required] The location of the targeted API entity of the to-be-created documentation part.
public CreateDocumentationPartRequest withLocation(DocumentationPartLocation location)
[Required] The location of the targeted API entity of the to-be-created documentation part.
location
- [Required] The location of the targeted API entity of the to-be-created documentation part.public void setProperties(String properties)
[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.
properties
- [Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are
API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.public String getProperties()
[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.
public CreateDocumentationPartRequest withProperties(String properties)
[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.
properties
- [Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are
API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.public String toString()
toString
in class Object
Object.toString()
public CreateDocumentationPartRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.