@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDocumentationPartsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).
NOOP
Constructor and Description |
---|
GetDocumentationPartsRequest() |
Modifier and Type | Method and Description |
---|---|
GetDocumentationPartsRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getLimit()
The size of the paged results.
|
String |
getNameQuery()
The name of API entities of the to-be-retrieved documentation parts.
|
String |
getPath()
The path of API entities of the to-be-retrieved documentation parts.
|
String |
getPosition()
The position of the to-be-retrieved documentation part in the DocumentationParts collection.
|
String |
getRestApiId()
[Required] The identifier of the API of the to-be-retrieved documentation parts.
|
String |
getType()
The type of API entities of the to-be-retrieved documentation parts.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The size of the paged results.
|
void |
setNameQuery(String nameQuery)
The name of API entities of the to-be-retrieved documentation parts.
|
void |
setPath(String path)
The path of API entities of the to-be-retrieved documentation parts.
|
void |
setPosition(String position)
The position of the to-be-retrieved documentation part in the DocumentationParts collection.
|
void |
setRestApiId(String restApiId)
[Required] The identifier of the API of the to-be-retrieved documentation parts.
|
void |
setType(DocumentationPartType type)
The type of API entities of the to-be-retrieved documentation parts.
|
void |
setType(String type)
The type of API entities of the to-be-retrieved documentation parts.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDocumentationPartsRequest |
withLimit(Integer limit)
The size of the paged results.
|
GetDocumentationPartsRequest |
withNameQuery(String nameQuery)
The name of API entities of the to-be-retrieved documentation parts.
|
GetDocumentationPartsRequest |
withPath(String path)
The path of API entities of the to-be-retrieved documentation parts.
|
GetDocumentationPartsRequest |
withPosition(String position)
The position of the to-be-retrieved documentation part in the DocumentationParts collection.
|
GetDocumentationPartsRequest |
withRestApiId(String restApiId)
[Required] The identifier of the API of the to-be-retrieved documentation parts.
|
GetDocumentationPartsRequest |
withType(DocumentationPartType type)
The type of API entities of the to-be-retrieved documentation parts.
|
GetDocumentationPartsRequest |
withType(String type)
The type of API entities of the to-be-retrieved documentation parts.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, 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] The identifier of the API of the to-be-retrieved documentation parts.
restApiId
- [Required] The identifier of the API of the to-be-retrieved documentation parts.public String getRestApiId()
[Required] The identifier of the API of the to-be-retrieved documentation parts.
public GetDocumentationPartsRequest withRestApiId(String restApiId)
[Required] The identifier of the API of the to-be-retrieved documentation parts.
restApiId
- [Required] The identifier of the API of the to-be-retrieved documentation parts.public void setType(String type)
The type of API entities of the to-be-retrieved documentation parts.
type
- The type of API entities of the to-be-retrieved documentation parts.DocumentationPartType
public String getType()
The type of API entities of the to-be-retrieved documentation parts.
DocumentationPartType
public GetDocumentationPartsRequest withType(String type)
The type of API entities of the to-be-retrieved documentation parts.
type
- The type of API entities of the to-be-retrieved documentation parts.DocumentationPartType
public void setType(DocumentationPartType type)
The type of API entities of the to-be-retrieved documentation parts.
type
- The type of API entities of the to-be-retrieved documentation parts.DocumentationPartType
public GetDocumentationPartsRequest withType(DocumentationPartType type)
The type of API entities of the to-be-retrieved documentation parts.
type
- The type of API entities of the to-be-retrieved documentation parts.DocumentationPartType
public void setNameQuery(String nameQuery)
The name of API entities of the to-be-retrieved documentation parts.
nameQuery
- The name of API entities of the to-be-retrieved documentation parts.public String getNameQuery()
The name of API entities of the to-be-retrieved documentation parts.
public GetDocumentationPartsRequest withNameQuery(String nameQuery)
The name of API entities of the to-be-retrieved documentation parts.
nameQuery
- The name of API entities of the to-be-retrieved documentation parts.public void setPath(String path)
The path of API entities of the to-be-retrieved documentation parts.
path
- The path of API entities of the to-be-retrieved documentation parts.public String getPath()
The path of API entities of the to-be-retrieved documentation parts.
public GetDocumentationPartsRequest withPath(String path)
The path of API entities of the to-be-retrieved documentation parts.
path
- The path of API entities of the to-be-retrieved documentation parts.public void setPosition(String position)
The position of the to-be-retrieved documentation part in the DocumentationParts collection.
position
- The position of the to-be-retrieved documentation part in the DocumentationParts collection.public String getPosition()
The position of the to-be-retrieved documentation part in the DocumentationParts collection.
public GetDocumentationPartsRequest withPosition(String position)
The position of the to-be-retrieved documentation part in the DocumentationParts collection.
position
- The position of the to-be-retrieved documentation part in the DocumentationParts collection.public void setLimit(Integer limit)
The size of the paged results.
limit
- The size of the paged results.public Integer getLimit()
The size of the paged results.
public GetDocumentationPartsRequest withLimit(Integer limit)
The size of the paged results.
limit
- The size of the paged results.public String toString()
toString
in class Object
Object.toString()
public GetDocumentationPartsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.