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