public static interface CreateRouteRequest.Builder extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateRouteRequest.Builder |
apiId(String apiId)
The API identifier.
|
CreateRouteRequest.Builder |
apiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for the route.
|
CreateRouteRequest.Builder |
authorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
|
CreateRouteRequest.Builder |
authorizationScopes(String... authorizationScopes)
The authorization scopes supported by this route.
|
CreateRouteRequest.Builder |
authorizationType(AuthorizationType authorizationType)
The authorization type for the route.
|
CreateRouteRequest.Builder |
authorizationType(String authorizationType)
The authorization type for the route.
|
CreateRouteRequest.Builder |
authorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route, if the authorizationType is
CUSTOM .
|
CreateRouteRequest.Builder |
modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
|
CreateRouteRequest.Builder |
operationName(String operationName)
The operation name for the route.
|
CreateRouteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateRouteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateRouteRequest.Builder |
requestModels(Map<String,String> requestModels)
The request models for the route.
|
CreateRouteRequest.Builder |
requestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
|
CreateRouteRequest.Builder |
routeKey(String routeKey)
The route key for the route.
|
CreateRouteRequest.Builder |
routeResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
|
CreateRouteRequest.Builder |
target(String target)
The target for the route.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateRouteRequest.Builder apiId(String apiId)
The API identifier.
apiId - The API identifier.CreateRouteRequest.Builder apiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for the route.
apiKeyRequired - Specifies whether an API key is required for the route.CreateRouteRequest.Builder authorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
authorizationScopes - The authorization scopes supported by this route.CreateRouteRequest.Builder authorizationScopes(String... authorizationScopes)
The authorization scopes supported by this route.
authorizationScopes - The authorization scopes supported by this route.CreateRouteRequest.Builder authorizationType(String authorizationType)
The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
authorizationType - The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM
permissions, and CUSTOM for using a Lambda authorizer.AuthorizationType,
AuthorizationTypeCreateRouteRequest.Builder authorizationType(AuthorizationType authorizationType)
The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
authorizationType - The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM
permissions, and CUSTOM for using a Lambda authorizer.AuthorizationType,
AuthorizationTypeCreateRouteRequest.Builder authorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route, if the authorizationType is CUSTOM . The authorizer identifier is generated by API Gateway when you created the authorizer.
authorizerId - The identifier of the Authorizer resource to be associated with this route, if the authorizationType
is CUSTOM . The authorizer identifier is generated by API Gateway when you created the authorizer.CreateRouteRequest.Builder modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
modelSelectionExpression - The model selection expression for the route.CreateRouteRequest.Builder operationName(String operationName)
The operation name for the route.
operationName - The operation name for the route.CreateRouteRequest.Builder requestModels(Map<String,String> requestModels)
The request models for the route.
requestModels - The request models for the route.CreateRouteRequest.Builder requestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
requestParameters - The request parameters for the route.CreateRouteRequest.Builder routeKey(String routeKey)
The route key for the route.
routeKey - The route key for the route.CreateRouteRequest.Builder routeResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
routeResponseSelectionExpression - The route response selection expression for the route.CreateRouteRequest.Builder target(String target)
The target for the route.
target - The target for the route.CreateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.