@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()
The location of the targeted API entity of the to-be-created documentation part.
|
String |
getProperties()
The new documentation content map of the targeted API entity.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
int |
hashCode() |
void |
setLocation(DocumentationPartLocation location)
The location of the targeted API entity of the to-be-created documentation part.
|
void |
setProperties(String properties)
The new documentation content map of the targeted API entity.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
String |
toString()
Returns a string representation of this object.
|
CreateDocumentationPartRequest |
withLocation(DocumentationPartLocation location)
The location of the targeted API entity of the to-be-created documentation part.
|
CreateDocumentationPartRequest |
withProperties(String properties)
The new documentation content map of the targeted API entity.
|
CreateDocumentationPartRequest |
withRestApiId(String restApiId)
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)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public CreateDocumentationPartRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setLocation(DocumentationPartLocation location)
The location of the targeted API entity of the to-be-created documentation part.
location
- The location of the targeted API entity of the to-be-created documentation part.public DocumentationPartLocation getLocation()
The location of the targeted API entity of the to-be-created documentation part.
public CreateDocumentationPartRequest withLocation(DocumentationPartLocation location)
The location of the targeted API entity of the to-be-created documentation part.
location
- The location of the targeted API entity of the to-be-created documentation part.public void setProperties(String properties)
The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
properties
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific,
but only OpenAPI-compliant key-value pairs can be exported and, hence, published.public String getProperties()
The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
public CreateDocumentationPartRequest withProperties(String properties)
The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
properties
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific,
but only OpenAPI-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()