@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of returned results per page.
|
String |
getLocationStatus()
The status of the API documentation parts to retrieve.
|
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 current pagination position in the paged result set.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
String |
getType()
The type of API entities of the to-be-retrieved documentation parts.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of returned results per page.
|
void |
setLocationStatus(LocationStatusType locationStatus)
The status of the API documentation parts to retrieve.
|
void |
setLocationStatus(String locationStatus)
The status of the API documentation parts to retrieve.
|
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 current pagination position in the paged result set.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
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.
|
GetDocumentationPartsRequest |
withLimit(Integer limit)
The maximum number of returned results per page.
|
GetDocumentationPartsRequest |
withLocationStatus(LocationStatusType locationStatus)
The status of the API documentation parts to retrieve.
|
GetDocumentationPartsRequest |
withLocationStatus(String locationStatus)
The status of the API documentation parts to retrieve.
|
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 current pagination position in the paged result set.
|
GetDocumentationPartsRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
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, 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 GetDocumentationPartsRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.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 current pagination position in the paged result set.
position
- The current pagination position in the paged result set.public String getPosition()
The current pagination position in the paged result set.
public GetDocumentationPartsRequest withPosition(String position)
The current pagination position in the paged result set.
position
- The current pagination position in the paged result set.public void setLimit(Integer limit)
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
limit
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.public Integer getLimit()
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
public GetDocumentationPartsRequest withLimit(Integer limit)
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
limit
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500.public void setLocationStatus(String locationStatus)
The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving
DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without
content.
locationStatus
- The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for
retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart
resources without content.LocationStatusType
public String getLocationStatus()
The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving
DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without
content.
DOCUMENTED
for
retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart
resources without content.LocationStatusType
public GetDocumentationPartsRequest withLocationStatus(String locationStatus)
The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving
DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without
content.
locationStatus
- The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for
retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart
resources without content.LocationStatusType
public void setLocationStatus(LocationStatusType locationStatus)
The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving
DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without
content.
locationStatus
- The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for
retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart
resources without content.LocationStatusType
public GetDocumentationPartsRequest withLocationStatus(LocationStatusType locationStatus)
The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for retrieving
DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart resources without
content.
locationStatus
- The status of the API documentation parts to retrieve. Valid values are DOCUMENTED
for
retrieving DocumentationPart resources with content and UNDOCUMENTED
for DocumentationPart
resources without content.LocationStatusType
public String toString()
toString
in class Object
Object.toString()
public GetDocumentationPartsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()