@Generated(value="software.amazon.awssdk:codegen") public final class GetDocumentationPartsRequest extends ApiGatewayRequest implements ToCopyableBuilder<GetDocumentationPartsRequest.Builder,GetDocumentationPartsRequest>
Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetDocumentationPartsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetDocumentationPartsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
limit()
The maximum number of returned results per page.
|
LocationStatusType |
locationStatus()
The status of the API documentation parts to retrieve.
|
String |
locationStatusAsString()
The status of the API documentation parts to retrieve.
|
String |
nameQuery()
The name of API entities of the to-be-retrieved documentation parts.
|
String |
path()
The path of API entities of the to-be-retrieved documentation parts.
|
String |
position()
The current pagination position in the paged result set.
|
String |
restApiId()
The string identifier of the associated RestApi.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDocumentationPartsRequest.Builder> |
serializableBuilderClass() |
GetDocumentationPartsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DocumentationPartType |
type()
The type of API entities of the to-be-retrieved documentation parts.
|
String |
typeAsString()
The type of API entities of the to-be-retrieved documentation parts.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String restApiId()
The string identifier of the associated RestApi.
public final DocumentationPartType type()
The type of API entities of the to-be-retrieved documentation parts.
If the service returns an enum value that is not available in the current SDK version, type will return
DocumentationPartType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DocumentationPartTypepublic final String typeAsString()
The type of API entities of the to-be-retrieved documentation parts.
If the service returns an enum value that is not available in the current SDK version, type will return
DocumentationPartType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DocumentationPartTypepublic final String nameQuery()
The name of API entities of the to-be-retrieved documentation parts.
public final String path()
The path of API entities of the to-be-retrieved documentation parts.
public final String position()
The current pagination position in the paged result set.
public final Integer limit()
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
public final 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.
If the service returns an enum value that is not available in the current SDK version, locationStatus
will return LocationStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from locationStatusAsString().
DOCUMENTED for
retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart
resources without content.LocationStatusTypepublic final String locationStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, locationStatus
will return LocationStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from locationStatusAsString().
DOCUMENTED for
retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart
resources without content.LocationStatusTypepublic GetDocumentationPartsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetDocumentationPartsRequest.Builder,GetDocumentationPartsRequest>toBuilder in class ApiGatewayRequestpublic static GetDocumentationPartsRequest.Builder builder()
public static Class<? extends GetDocumentationPartsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.