@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) |
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 CreateApiRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The key-value map of strings.
|
CreateApiRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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: 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 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 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.