public static interface UpdateRouteRequest.Builder extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<UpdateRouteRequest.Builder,UpdateRouteRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateRouteRequest.Builder |
apiId(String apiId)
The API identifier.
|
UpdateRouteRequest.Builder |
apiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for the route.
|
UpdateRouteRequest.Builder |
authorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
|
UpdateRouteRequest.Builder |
authorizationScopes(String... authorizationScopes)
The authorization scopes supported by this route.
|
UpdateRouteRequest.Builder |
authorizationType(AuthorizationType authorizationType)
The authorization type for the route.
|
UpdateRouteRequest.Builder |
authorizationType(String authorizationType)
The authorization type for the route.
|
UpdateRouteRequest.Builder |
authorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route.
|
UpdateRouteRequest.Builder |
modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
|
UpdateRouteRequest.Builder |
operationName(String operationName)
The operation name for the route.
|
UpdateRouteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateRouteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateRouteRequest.Builder |
requestModels(Map<String,String> requestModels)
The request models for the route.
|
UpdateRouteRequest.Builder |
requestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
|
UpdateRouteRequest.Builder |
routeId(String routeId)
The route ID.
|
UpdateRouteRequest.Builder |
routeKey(String routeKey)
The route key for the route.
|
UpdateRouteRequest.Builder |
routeResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
|
UpdateRouteRequest.Builder |
target(String target)
The target for the route.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateRouteRequest.Builder apiId(String apiId)
The API identifier.
apiId - The API identifier.UpdateRouteRequest.Builder apiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for the route. Supported only for WebSocket APIs.
apiKeyRequired - Specifies whether an API key is required for the route. Supported only for WebSocket APIs.UpdateRouteRequest.Builder authorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
authorizationScopes - The authorization scopes supported by this route.UpdateRouteRequest.Builder authorizationScopes(String... authorizationScopes)
The authorization scopes supported by this route.
authorizationScopes - The authorization scopes supported by this route.UpdateRouteRequest.Builder authorizationType(String authorizationType)
The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
authorizationType - The authorization type for the route. For WebSocket APIs, valid values are NONE for open access,
AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid
values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions,
and CUSTOM for using a Lambda authorizer.AuthorizationType,
AuthorizationTypeUpdateRouteRequest.Builder authorizationType(AuthorizationType authorizationType)
The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
authorizationType - The authorization type for the route. For WebSocket APIs, valid values are NONE for open access,
AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid
values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions,
and CUSTOM for using a Lambda authorizer.AuthorizationType,
AuthorizationTypeUpdateRouteRequest.Builder authorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route. 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. The authorizer identifier
is generated by API Gateway when you created the authorizer.UpdateRouteRequest.Builder modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route. Supported only for WebSocket APIs.
modelSelectionExpression - The model selection expression for the route. Supported only for WebSocket APIs.UpdateRouteRequest.Builder operationName(String operationName)
The operation name for the route.
operationName - The operation name for the route.UpdateRouteRequest.Builder requestModels(Map<String,String> requestModels)
The request models for the route. Supported only for WebSocket APIs.
requestModels - The request models for the route. Supported only for WebSocket APIs.UpdateRouteRequest.Builder requestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route. Supported only for WebSocket APIs.
requestParameters - The request parameters for the route. Supported only for WebSocket APIs.UpdateRouteRequest.Builder routeId(String routeId)
The route ID.
routeId - The route ID.UpdateRouteRequest.Builder routeKey(String routeKey)
The route key for the route.
routeKey - The route key for the route.UpdateRouteRequest.Builder routeResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route. Supported only for WebSocket APIs.
routeResponseSelectionExpression - The route response selection expression for the route. Supported only for WebSocket APIs.UpdateRouteRequest.Builder target(String target)
The target for the route.
target - The target for the route.UpdateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.