Class CfnVPCDHCPOptionsAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPCDHCPOptionsAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCDHCPOptionsAssociation>
- Enclosing class:
- CfnVPCDHCPOptionsAssociation
@Stability(Stable)
public static final class CfnVPCDHCPOptionsAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCDHCPOptionsAssociation>
A fluent builder for
CfnVPCDHCPOptionsAssociation.-
Method Summary
Modifier and TypeMethodDescriptionbuild()dhcpOptionsId(String dhcpOptionsId) The ID of the DHCP options set, ordefaultto associate no DHCP options with the VPC.The ID of the VPC.
-
Method Details
-
create
@Stability(Stable) public static CfnVPCDHCPOptionsAssociation.Builder create(Construct scope, String id) - Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnVPCDHCPOptionsAssociation.Builder.
-
dhcpOptionsId
The ID of the DHCP options set, ordefaultto associate no DHCP options with the VPC.- Parameters:
dhcpOptionsId- The ID of the DHCP options set, ordefaultto associate no DHCP options with the VPC. This parameter is required.- Returns:
this
-
vpcId
The ID of the VPC.- Parameters:
vpcId- The ID of the VPC. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCDHCPOptionsAssociation>- Returns:
- a newly built instance of
CfnVPCDHCPOptionsAssociation.
-