Class CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty>
- Enclosing interface:
CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty
@Stability(Stable)
public static final class CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationScopes(List<String> authorizationScopes) authorizationType(String authorizationType) authorizerId(String authorizerId) build()Builds the configured instance.operationName(String operationName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationScopes
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.Builder authorizationScopes(List<String> authorizationScopes) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.getAuthorizationScopes()- Parameters:
authorizationScopes- The authorization scopes supported by this route.- Returns:
this
-
authorizationType
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.Builder authorizationType(String authorizationType) Sets the value ofCfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.getAuthorizationType()- Parameters:
authorizationType- The authorization type for the route. To learn more, see AuthorizationType .- Returns:
this
-
authorizerId
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.Builder authorizerId(String authorizerId) - Parameters:
authorizerId- The identifier of theAuthorizerresource 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 CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.Builder operationName(String operationName) - Parameters:
operationName- The operation name for the route.- Returns:
this
-
target
@Stability(Stable) public CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty.Builder target(String target) - 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty>- Returns:
- a new instance of
CfnApiGatewayManagedOverridesPropsMixin.RouteOverridesProperty - Throws:
NullPointerException- if any required attribute was not provided
-