Class RouteReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.apigatewayv2.RouteReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouteReference>
- Enclosing interface:
RouteReference
@Stability(Stable)
public static final class RouteReference.Builder
extends Object
implements software.amazon.jsii.Builder<RouteReference>
A builder for
RouteReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofRouteReference.getApiId()build()Builds the configured instance.Sets the value ofRouteReference.getRouteId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofRouteReference.getApiId()- Parameters:
apiId- The ApiId of the Route resource. This parameter is required.- Returns:
this
-
routeId
Sets the value ofRouteReference.getRouteId()- Parameters:
routeId- The RouteId of the Route resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RouteReference>- Returns:
- a new instance of
RouteReference - Throws:
NullPointerException- if any required attribute was not provided
-