@Generated(value="software.amazon.awssdk:codegen") public final class GetApiResponse extends ApiGatewayV2Response implements ToCopyableBuilder<GetApiResponse.Builder,GetApiResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetApiResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiEndpoint()
The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com.
|
String |
apiId()
The API ID.
|
String |
apiKeySelectionExpression()
An API key selection expression.
|
static GetApiResponse.Builder |
builder() |
Instant |
createdDate()
The timestamp when the API was created.
|
String |
description()
The description of the API.
|
Boolean |
disableSchemaValidation()
Avoid validating models when creating a deployment.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the API.
|
ProtocolType |
protocolType()
The API protocol: HTTP or WEBSOCKET.
|
String |
protocolTypeAsString()
The API protocol: HTTP or WEBSOCKET.
|
String |
routeSelectionExpression()
The route selection expression for the API.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetApiResponse.Builder> |
serializableBuilderClass() |
GetApiResponse.Builder |
toBuilder() |
String |
toString() |
String |
version()
A version identifier for the API.
|
List<String> |
warnings()
The warning messages reported when failonwarnings is turned on during API import.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String apiEndpoint()
The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.
public String apiId()
The API ID.
public String apiKeySelectionExpression()
An API key selection expression. See API Key Selection Expressions.
public Instant createdDate()
The timestamp when the API was created.
public String description()
The description of the API.
public Boolean disableSchemaValidation()
Avoid validating models when creating a deployment.
public String name()
The name of the API.
public ProtocolType protocolType()
The API protocol: HTTP or WEBSOCKET.
If the service returns an enum value that is not available in the current SDK version, protocolType will
return ProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolTypeAsString().
ProtocolTypepublic String protocolTypeAsString()
The API protocol: HTTP or WEBSOCKET.
If the service returns an enum value that is not available in the current SDK version, protocolType will
return ProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolTypeAsString().
ProtocolTypepublic String routeSelectionExpression()
The route selection expression for the API.
public String version()
A version identifier for the API.
public List<String> warnings()
The warning messages reported when failonwarnings is turned on during API import.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public GetApiResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetApiResponse.Builder,GetApiResponse>toBuilder in class AwsResponsepublic static GetApiResponse.Builder builder()
public static Class<? extends GetApiResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.