public static final class GatewayRouteBaseProps.Builder
extends java.lang.Object
GatewayRouteBaseProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GatewayRouteBaseProps |
build()
Builds the configured instance.
|
GatewayRouteBaseProps.Builder |
gatewayRouteName(java.lang.String gatewayRouteName)
Sets the value of
GatewayRouteBaseProps.getGatewayRouteName() |
GatewayRouteBaseProps.Builder |
routeSpec(GatewayRouteSpec routeSpec)
Sets the value of
GatewayRouteBaseProps.getRouteSpec() |
public GatewayRouteBaseProps.Builder routeSpec(GatewayRouteSpec routeSpec)
GatewayRouteBaseProps.getRouteSpec()
routeSpec
- What protocol the route uses. This parameter is required.this
public GatewayRouteBaseProps.Builder gatewayRouteName(java.lang.String gatewayRouteName)
GatewayRouteBaseProps.getGatewayRouteName()
gatewayRouteName
- The name of the GatewayRoute.this
public GatewayRouteBaseProps build()
GatewayRouteBaseProps
java.lang.NullPointerException
- if any required attribute was not provided