Class CfnVPCDHCPOptionsAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCDHCPOptionsAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCDHCPOptionsAssociationMixinProps>
- Enclosing interface:
CfnVPCDHCPOptionsAssociationMixinProps
@Stability(Stable)
public static final class CfnVPCDHCPOptionsAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCDHCPOptionsAssociationMixinProps>
A builder for
CfnVPCDHCPOptionsAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dhcpOptionsId(String dhcpOptionsId) Sets the value ofCfnVPCDHCPOptionsAssociationMixinProps.getDhcpOptionsId()dhcpOptionsId(IDHCPOptionsRef dhcpOptionsId) Sets the value ofCfnVPCDHCPOptionsAssociationMixinProps.getDhcpOptionsId()Sets the value ofCfnVPCDHCPOptionsAssociationMixinProps.getVpcId()Sets the value ofCfnVPCDHCPOptionsAssociationMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dhcpOptionsId
@Stability(Stable) public CfnVPCDHCPOptionsAssociationMixinProps.Builder dhcpOptionsId(String dhcpOptionsId) Sets the value ofCfnVPCDHCPOptionsAssociationMixinProps.getDhcpOptionsId()- Parameters:
dhcpOptionsId- The ID of the DHCP options set, ordefaultto associate no DHCP options with the VPC.- Returns:
this
-
dhcpOptionsId
@Stability(Stable) public CfnVPCDHCPOptionsAssociationMixinProps.Builder dhcpOptionsId(IDHCPOptionsRef dhcpOptionsId) Sets the value ofCfnVPCDHCPOptionsAssociationMixinProps.getDhcpOptionsId()- Parameters:
dhcpOptionsId- The ID of the DHCP options set, ordefaultto associate no DHCP options with the VPC.- Returns:
this
-
vpcId
Sets the value ofCfnVPCDHCPOptionsAssociationMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC.- Returns:
this
-
vpcId
Sets the value ofCfnVPCDHCPOptionsAssociationMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCDHCPOptionsAssociationMixinProps>- Returns:
- a new instance of
CfnVPCDHCPOptionsAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-