Class CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.RouteOverridesProperty>
- Enclosing interface:
CfnApiGatewayManagedOverrides.RouteOverridesProperty
@Stability(Stable)
public static final class CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.RouteOverridesProperty>
A builder for
CfnApiGatewayManagedOverrides.RouteOverridesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationScopes
(List<String> authorizationScopes) authorizationType
(String authorizationType) authorizerId
(String authorizerId) Sets the value ofCfnApiGatewayManagedOverrides.RouteOverridesProperty.getAuthorizerId()
build()
Builds the configured instance.operationName
(String operationName) Sets the value ofCfnApiGatewayManagedOverrides.RouteOverridesProperty.getOperationName()
Sets the value ofCfnApiGatewayManagedOverrides.RouteOverridesProperty.getTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationScopes
@Stability(Stable) public CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder authorizationScopes(List<String> authorizationScopes) - Parameters:
authorizationScopes
- The authorization scopes supported by this route.- Returns:
this
-
authorizationType
@Stability(Stable) public CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder authorizationType(String authorizationType) - Parameters:
authorizationType
- The authorization type for the route. To learn more, see AuthorizationType .- Returns:
this
-
authorizerId
@Stability(Stable) public CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder authorizerId(String authorizerId) Sets the value ofCfnApiGatewayManagedOverrides.RouteOverridesProperty.getAuthorizerId()
- Parameters:
authorizerId
- The identifier of theAuthorizer
resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.- Returns:
this
-
operationName
@Stability(Stable) public CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder operationName(String operationName) Sets the value ofCfnApiGatewayManagedOverrides.RouteOverridesProperty.getOperationName()
- Parameters:
operationName
- The operation name for the route.- Returns:
this
-
target
@Stability(Stable) public CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder target(String target) Sets the value ofCfnApiGatewayManagedOverrides.RouteOverridesProperty.getTarget()
- Parameters:
target
- For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApiGatewayManagedOverrides.RouteOverridesProperty>
- Returns:
- a new instance of
CfnApiGatewayManagedOverrides.RouteOverridesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-