public static interface AwsApiGatewayV2ApiDetails.Builder extends SdkPojo, CopyableBuilder<AwsApiGatewayV2ApiDetails.Builder,AwsApiGatewayV2ApiDetails>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsApiGatewayV2ApiDetails.Builder apiEndpoint(String apiEndpoint)
The URI of the API.
Uses the format <api-id>.execute-api.<region>.amazonaws.com
The stage name is typically appended to the URI to form a complete path to a deployed API stage.
apiEndpoint - The URI of the API.
Uses the format <api-id>.execute-api.<region>.amazonaws.com
The stage name is typically appended to the URI to form a complete path to a deployed API stage.
AwsApiGatewayV2ApiDetails.Builder apiId(String apiId)
The identifier of the API.
apiId - The identifier of the API.AwsApiGatewayV2ApiDetails.Builder apiKeySelectionExpression(String apiKeySelectionExpression)
An API key selection expression. Supported only for WebSocket APIs.
apiKeySelectionExpression - An API key selection expression. Supported only for WebSocket APIs.AwsApiGatewayV2ApiDetails.Builder createdDate(String createdDate)
Indicates when the API was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces, and date and time should be separated by T. For example,
2020-03-22T13:22:13.933Z.
createdDate - Indicates when the API was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T.
For example, 2020-03-22T13:22:13.933Z.
AwsApiGatewayV2ApiDetails.Builder description(String description)
A description of the API.
description - A description of the API.AwsApiGatewayV2ApiDetails.Builder version(String version)
The version identifier for the API.
version - The version identifier for the API.AwsApiGatewayV2ApiDetails.Builder name(String name)
The name of the API.
name - The name of the API.AwsApiGatewayV2ApiDetails.Builder protocolType(String protocolType)
The API protocol for the API.
Valid values: WEBSOCKET | HTTP
protocolType - The API protocol for the API.
Valid values: WEBSOCKET | HTTP
AwsApiGatewayV2ApiDetails.Builder routeSelectionExpression(String routeSelectionExpression)
The route selection expression for the API.
For HTTP APIs, must be ${request.method} ${request.path}. This is the default value for HTTP
APIs.
For WebSocket APIs, there is no default value.
routeSelectionExpression - The route selection expression for the API.
For HTTP APIs, must be ${request.method} ${request.path}. This is the default value for
HTTP APIs.
For WebSocket APIs, there is no default value.
AwsApiGatewayV2ApiDetails.Builder corsConfiguration(AwsCorsConfiguration corsConfiguration)
A cross-origin resource sharing (CORS) configuration. Supported only for HTTP APIs.
corsConfiguration - A cross-origin resource sharing (CORS) configuration. Supported only for HTTP APIs.default AwsApiGatewayV2ApiDetails.Builder corsConfiguration(Consumer<AwsCorsConfiguration.Builder> corsConfiguration)
A cross-origin resource sharing (CORS) configuration. Supported only for HTTP APIs.
This is a convenience method that creates an instance of theAwsCorsConfiguration.Builder avoiding
the need to create one manually via AwsCorsConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to corsConfiguration(AwsCorsConfiguration).
corsConfiguration - a consumer that will call methods on AwsCorsConfiguration.BuildercorsConfiguration(AwsCorsConfiguration)Copyright © 2023. All rights reserved.