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