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