public static interface Route.Builder extends SdkPojo, CopyableBuilder<Route.Builder,Route>
| Modifier and Type | Method and Description |
|---|---|
Route.Builder |
apiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for this route.
|
Route.Builder |
authorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
|
Route.Builder |
authorizationScopes(String... authorizationScopes)
The authorization scopes supported by this route.
|
Route.Builder |
authorizationType(AuthorizationType authorizationType)
The authorization type for the route.
|
Route.Builder |
authorizationType(String authorizationType)
The authorization type for the route.
|
Route.Builder |
authorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route.
|
Route.Builder |
modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
|
Route.Builder |
operationName(String operationName)
The operation name for the route.
|
Route.Builder |
requestModels(Map<String,String> requestModels)
The request models for the route.
|
Route.Builder |
requestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
|
Route.Builder |
routeId(String routeId)
The route ID.
|
Route.Builder |
routeKey(String routeKey)
The route key for the route.
|
Route.Builder |
routeResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
|
Route.Builder |
target(String target)
The target for the route.
|
copyapplyMutation, buildRoute.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.Route.Builder authorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
authorizationScopes - The authorization scopes supported by this route.Route.Builder authorizationScopes(String... authorizationScopes)
The authorization scopes supported by this route.
authorizationScopes - The authorization scopes supported by this route.Route.Builder authorizationType(String authorizationType)
The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions.
authorizationType - The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM
permissions.AuthorizationType,
AuthorizationTypeRoute.Builder authorizationType(AuthorizationType authorizationType)
The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions.
authorizationType - The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM
permissions.AuthorizationType,
AuthorizationTypeRoute.Builder authorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route.
authorizerId - The identifier of the Authorizer resource to be associated with this route.Route.Builder modelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
modelSelectionExpression - The model selection expression for the route.Route.Builder operationName(String operationName)
The operation name for the route.
operationName - The operation name for the route.Route.Builder requestModels(Map<String,String> requestModels)
The request models for the route.
requestModels - The request models for the route.Route.Builder requestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
requestParameters - The request parameters for the route.Route.Builder routeId(String routeId)
The route ID.
routeId - The route ID.Route.Builder routeKey(String routeKey)
The route key for the route.
routeKey - The route key for the route.Route.Builder routeResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
routeResponseSelectionExpression - The route response selection expression for the route.Route.Builder target(String target)
The target for the route.
target - The target for the route.Copyright © 2019. All rights reserved.