public static final class CfnGatewayRoute.GatewayRouteSpecProperty.Builder
extends java.lang.Object
CfnGatewayRoute.GatewayRouteSpecProperty
Constructor and Description |
---|
Builder() |
public CfnGatewayRoute.GatewayRouteSpecProperty.Builder grpcRoute(IResolvable grpcRoute)
CfnGatewayRoute.GatewayRouteSpecProperty.getGrpcRoute()
grpcRoute
- An object that represents the specification of a gRPC gateway route.this
public CfnGatewayRoute.GatewayRouteSpecProperty.Builder grpcRoute(CfnGatewayRoute.GrpcGatewayRouteProperty grpcRoute)
CfnGatewayRoute.GatewayRouteSpecProperty.getGrpcRoute()
grpcRoute
- An object that represents the specification of a gRPC gateway route.this
public CfnGatewayRoute.GatewayRouteSpecProperty.Builder http2Route(IResolvable http2Route)
CfnGatewayRoute.GatewayRouteSpecProperty.getHttp2Route()
http2Route
- An object that represents the specification of an HTTP/2 gateway route.this
public CfnGatewayRoute.GatewayRouteSpecProperty.Builder http2Route(CfnGatewayRoute.HttpGatewayRouteProperty http2Route)
CfnGatewayRoute.GatewayRouteSpecProperty.getHttp2Route()
http2Route
- An object that represents the specification of an HTTP/2 gateway route.this
public CfnGatewayRoute.GatewayRouteSpecProperty.Builder httpRoute(IResolvable httpRoute)
CfnGatewayRoute.GatewayRouteSpecProperty.getHttpRoute()
httpRoute
- An object that represents the specification of an HTTP gateway route.this
public CfnGatewayRoute.GatewayRouteSpecProperty.Builder httpRoute(CfnGatewayRoute.HttpGatewayRouteProperty httpRoute)
CfnGatewayRoute.GatewayRouteSpecProperty.getHttpRoute()
httpRoute
- An object that represents the specification of an HTTP gateway route.this
public CfnGatewayRoute.GatewayRouteSpecProperty.Builder priority(java.lang.Number priority)
CfnGatewayRoute.GatewayRouteSpecProperty.getPriority()
priority
- The ordering of the gateway routes spec.this
public CfnGatewayRoute.GatewayRouteSpecProperty build()
CfnGatewayRoute.GatewayRouteSpecProperty
java.lang.NullPointerException
- if any required attribute was not provided