Class GatewayRouteReference.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.GatewayRouteReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayRouteReference>
- Enclosing interface:
GatewayRouteReference
@Stability(Stable)
public static final class GatewayRouteReference.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayRouteReference>
A builder for
GatewayRouteReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.gatewayRouteArn
(String gatewayRouteArn) Sets the value ofGatewayRouteReference.getGatewayRouteArn()
gatewayRouteId
(String gatewayRouteId) Sets the value ofGatewayRouteReference.getGatewayRouteId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayRouteArn
Sets the value ofGatewayRouteReference.getGatewayRouteArn()
- Parameters:
gatewayRouteArn
- The ARN of the GatewayRoute resource. This parameter is required.- Returns:
this
-
gatewayRouteId
Sets the value ofGatewayRouteReference.getGatewayRouteId()
- Parameters:
gatewayRouteId
- The Id of the GatewayRoute resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GatewayRouteReference>
- Returns:
- a new instance of
GatewayRouteReference
- Throws:
NullPointerException
- if any required attribute was not provided
-