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