Class LocalGatewayRouteTableReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.LocalGatewayRouteTableReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LocalGatewayRouteTableReference>
- Enclosing interface:
LocalGatewayRouteTableReference
@Stability(Stable)
public static final class LocalGatewayRouteTableReference.Builder
extends Object
implements software.amazon.jsii.Builder<LocalGatewayRouteTableReference>
A builder for
LocalGatewayRouteTableReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.localGatewayRouteTableArn(String localGatewayRouteTableArn) Sets the value ofLocalGatewayRouteTableReference.getLocalGatewayRouteTableArn()localGatewayRouteTableId(String localGatewayRouteTableId) Sets the value ofLocalGatewayRouteTableReference.getLocalGatewayRouteTableId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
localGatewayRouteTableArn
@Stability(Stable) public LocalGatewayRouteTableReference.Builder localGatewayRouteTableArn(String localGatewayRouteTableArn) Sets the value ofLocalGatewayRouteTableReference.getLocalGatewayRouteTableArn()- Parameters:
localGatewayRouteTableArn- The ARN of the LocalGatewayRouteTable resource. This parameter is required.- Returns:
this
-
localGatewayRouteTableId
@Stability(Stable) public LocalGatewayRouteTableReference.Builder localGatewayRouteTableId(String localGatewayRouteTableId) Sets the value ofLocalGatewayRouteTableReference.getLocalGatewayRouteTableId()- Parameters:
localGatewayRouteTableId- The LocalGatewayRouteTableId of the LocalGatewayRouteTable resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LocalGatewayRouteTableReference>- Returns:
- a new instance of
LocalGatewayRouteTableReference - Throws:
NullPointerException- if any required attribute was not provided
-