public static interface UpdateRouteResponse.Builder extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<UpdateRouteResponse.Builder,UpdateRouteResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdateRouteResponse.Builder |
apiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for this route.
|
UpdateRouteResponse.Builder |
authorizationScopes(Collection<String> authorizationScopes)
A list of authorization scopes configured on a route.
|
UpdateRouteResponse.Builder |
authorizationScopes(String... authorizationScopes)
A list of authorization scopes configured on a route.
|
UpdateRouteResponse.Builder |
authorizationType(AuthorizationType authorizationType)
The authorization type for the route.
|
UpdateRouteResponse.Builder |
authorizationType(String authorizationType)
The authorization type for the route.
|
UpdateRouteResponse.Builder |
authorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route, if the authorizationType is
CUSTOM .
|
UpdateRouteResponse.Builder |
modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
|
UpdateRouteResponse.Builder |
operationName(String operationName)
The operation name for the route.
|
UpdateRouteResponse.Builder |
requestModels(Map<String,String> requestModels)
The request models for the route.
|
UpdateRouteResponse.Builder |
requestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
|
UpdateRouteResponse.Builder |
routeId(String routeId)
The route ID.
|
UpdateRouteResponse.Builder |
routeKey(String routeKey)
The route key for the route.
|
UpdateRouteResponse.Builder |
routeResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
|
UpdateRouteResponse.Builder |
target(String target)
The target for the route.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateRouteResponse.Builder apiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for this route.
apiKeyRequired - Specifies whether an API key is required for this route.UpdateRouteResponse.Builder authorizationScopes(Collection<String> authorizationScopes)
A list of authorization scopes configured on a route. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the route scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any route scope matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the route scope is configured, the client must provide an access token instead of an identity token for authorization purposes.
authorizationScopes - A list of authorization scopes configured on a route. The scopes are used with a COGNITO_USER_POOLS
authorizer to authorize the method invocation. The authorization works by matching the route scopes
against the scopes parsed from the access token in the incoming request. The method invocation is
authorized if any route scope matches a claimed scope in the access token. Otherwise, the invocation
is not authorized. When the route scope is configured, the client must provide an access token instead
of an identity token for authorization purposes.UpdateRouteResponse.Builder authorizationScopes(String... authorizationScopes)
A list of authorization scopes configured on a route. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the route scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any route scope matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the route scope is configured, the client must provide an access token instead of an identity token for authorization purposes.
authorizationScopes - A list of authorization scopes configured on a route. The scopes are used with a COGNITO_USER_POOLS
authorizer to authorize the method invocation. The authorization works by matching the route scopes
against the scopes parsed from the access token in the incoming request. The method invocation is
authorized if any route scope matches a claimed scope in the access token. Otherwise, the invocation
is not authorized. When the route scope is configured, the client must provide an access token instead
of an identity token for authorization purposes.UpdateRouteResponse.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 authorizerAuthorizationType,
AuthorizationTypeUpdateRouteResponse.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 authorizerAuthorizationType,
AuthorizationTypeUpdateRouteResponse.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.UpdateRouteResponse.Builder modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
modelSelectionExpression - The model selection expression for the route.UpdateRouteResponse.Builder operationName(String operationName)
The operation name for the route.
operationName - The operation name for the route.UpdateRouteResponse.Builder requestModels(Map<String,String> requestModels)
The request models for the route.
requestModels - The request models for the route.UpdateRouteResponse.Builder requestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
requestParameters - The request parameters for the route.UpdateRouteResponse.Builder routeId(String routeId)
The route ID.
routeId - The route ID.UpdateRouteResponse.Builder routeKey(String routeKey)
The route key for the route.
routeKey - The route key for the route.UpdateRouteResponse.Builder routeResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
routeResponseSelectionExpression - The route response selection expression for the route.UpdateRouteResponse.Builder target(String target)
The target for the route.
target - The target for the route.Copyright © 2019. All rights reserved.