@Generated(value="software.amazon.awssdk:codegen") public final class CreateApiRequest extends ApiGatewayV2Request implements ToCopyableBuilder<CreateApiRequest.Builder,CreateApiRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateApiRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiKeySelectionExpression()
An API key selection expression.
|
static CreateApiRequest.Builder |
builder() |
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 CreateApiRequest.Builder> |
serializableBuilderClass() |
CreateApiRequest.Builder |
toBuilder() |
String |
toString() |
String |
version()
A version identifier for the API.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String apiKeySelectionExpression()
An API key selection expression. See API Key Selection Expressions.
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 CreateApiRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateApiRequest.Builder,CreateApiRequest>toBuilder in class ApiGatewayV2Requestpublic static CreateApiRequest.Builder builder()
public static Class<? extends CreateApiRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.