Class LbSubnetMapping.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.lb.LbSubnetMapping.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LbSubnetMapping>
- Enclosing interface:
- LbSubnetMapping
@Stability(Stable) public static final class LbSubnetMapping.Builder extends Object implements software.amazon.jsii.Builder<LbSubnetMapping>
A builder forLbSubnetMapping
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LbSubnetMapping.BuilderallocationId(String allocationId)Sets the value ofLbSubnetMapping.getAllocationId()LbSubnetMappingbuild()Builds the configured instance.LbSubnetMapping.Builderipv6Address(String ipv6Address)Sets the value ofLbSubnetMapping.getIpv6Address()LbSubnetMapping.BuilderprivateIpv4Address(String privateIpv4Address)Sets the value ofLbSubnetMapping.getPrivateIpv4Address()LbSubnetMapping.BuildersubnetId(String subnetId)Sets the value ofLbSubnetMapping.getSubnetId()
-
-
-
Method Detail
-
subnetId
@Stability(Stable) public LbSubnetMapping.Builder subnetId(String subnetId)
Sets the value ofLbSubnetMapping.getSubnetId()- Parameters:
subnetId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lb#subnet_id Lb#subnet_id}. This parameter is required.- Returns:
this
-
allocationId
@Stability(Stable) public LbSubnetMapping.Builder allocationId(String allocationId)
Sets the value ofLbSubnetMapping.getAllocationId()- Parameters:
allocationId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lb#allocation_id Lb#allocation_id}.- Returns:
this
-
ipv6Address
@Stability(Stable) public LbSubnetMapping.Builder ipv6Address(String ipv6Address)
Sets the value ofLbSubnetMapping.getIpv6Address()- Parameters:
ipv6Address- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lb#ipv6_address Lb#ipv6_address}.- Returns:
this
-
privateIpv4Address
@Stability(Stable) public LbSubnetMapping.Builder privateIpv4Address(String privateIpv4Address)
Sets the value ofLbSubnetMapping.getPrivateIpv4Address()- Parameters:
privateIpv4Address- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lb#private_ipv4_address Lb#private_ipv4_address}.- Returns:
this
-
build
@Stability(Stable) public LbSubnetMapping build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LbSubnetMapping>- Returns:
- a new instance of
LbSubnetMapping - Throws:
NullPointerException- if any required attribute was not provided
-
-