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.dhcpOptionsId(IDHCPOptionsRef dhcpOptionsId) The ID of the DHCP options set, ordefaultto associate no DHCP options with the VPC.The ID of the VPC.The ID of the VPC.
-
Method Details
-
create
@Stability(Stable) public static CfnVPCDHCPOptionsAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- 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- See Also:
-
dhcpOptionsId
@Stability(Stable) public CfnVPCDHCPOptionsAssociation.Builder dhcpOptionsId(IDHCPOptionsRef 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- See Also:
-
vpcId
The ID of the VPC.- Parameters:
vpcId- The ID of the VPC. This parameter is required.- Returns:
this- See Also:
-
vpcId
The ID of the VPC.- Parameters:
vpcId- The ID of the VPC. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCDHCPOptionsAssociation>- Returns:
- a newly built instance of
CfnVPCDHCPOptionsAssociation.
-