@Generated(value="software.amazon.awssdk:codegen") public final class ImportApiResponse extends ApiGatewayV2Response implements ToCopyableBuilder<ImportApiResponse.Builder,ImportApiResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportApiResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiEndpoint()
The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com.
|
Boolean |
apiGatewayManaged()
Specifies whether an API is managed by API Gateway.
|
String |
apiId()
The API ID.
|
String |
apiKeySelectionExpression()
An API key selection expression.
|
static ImportApiResponse.Builder |
builder() |
Cors |
corsConfiguration()
A CORS configuration.
|
Instant |
createdDate()
The timestamp when the API was created.
|
String |
description()
The description of the API.
|
Boolean |
disableExecuteApiEndpoint()
Specifies whether clients can invoke your API by using the default execute-api endpoint.
|
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() |
boolean |
hasImportInfo()
Returns true if the ImportInfo property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasWarnings()
Returns true if the Warnings property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<String> |
importInfo()
The validation information during API import.
|
String |
name()
The name of the API.
|
ProtocolType |
protocolType()
The API protocol.
|
String |
protocolTypeAsString()
The API protocol.
|
String |
routeSelectionExpression()
The route selection expression for the API.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImportApiResponse.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
A collection of tags associated with the API.
|
ImportApiResponse.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 Boolean apiGatewayManaged()
Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.
public String apiId()
The API ID.
public String apiKeySelectionExpression()
An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.
public Cors corsConfiguration()
A CORS configuration. Supported only for HTTP APIs.
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. Supported only for WebSocket APIs.
public Boolean disableExecuteApiEndpoint()
Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
public boolean hasImportInfo()
public List<String> importInfo()
The validation information during API import. This may include particular properties of your OpenAPI definition which are ignored during import. Supported only for HTTP APIs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasImportInfo() to see if a value was sent in this field.
public String name()
The name of the API.
public ProtocolType protocolType()
The API protocol.
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.
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. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.
public boolean hasTags()
public Map<String,String> tags()
A collection of tags associated with the API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public String version()
A version identifier for the API.
public boolean hasWarnings()
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.
You can use hasWarnings() to see if a value was sent in this field.
public ImportApiResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImportApiResponse.Builder,ImportApiResponse>toBuilder in class AwsResponsepublic static ImportApiResponse.Builder builder()
public static Class<? extends ImportApiResponse.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 © 2020. All rights reserved.