@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) |
boolean |
equalsBySdkFields(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: Currently only WEBSOCKET is supported.
|
String |
protocolTypeAsString()
The API protocol: Currently only WEBSOCKET is supported.
|
String |
routeSelectionExpression()
The route selection expression for the API.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetApiResponse.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The key-value map of strings.
|
GetApiResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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: Currently only WEBSOCKET is supported.
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: Currently only WEBSOCKET is supported.
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 Map<String,String> tags()
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters..
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 int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.