public static final class CfnLoadBalancer.SubnetMappingProperty.Builder
extends java.lang.Object
CfnLoadBalancer.SubnetMappingProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLoadBalancer.SubnetMappingProperty.Builder |
allocationId(java.lang.String allocationId)
Sets the value of
CfnLoadBalancer.SubnetMappingProperty.getAllocationId() |
CfnLoadBalancer.SubnetMappingProperty |
build()
Builds the configured instance.
|
CfnLoadBalancer.SubnetMappingProperty.Builder |
iPv6Address(java.lang.String iPv6Address)
Sets the value of
CfnLoadBalancer.SubnetMappingProperty.getIPv6Address() |
CfnLoadBalancer.SubnetMappingProperty.Builder |
privateIPv4Address(java.lang.String privateIPv4Address)
Sets the value of
CfnLoadBalancer.SubnetMappingProperty.getPrivateIPv4Address() |
CfnLoadBalancer.SubnetMappingProperty.Builder |
subnetId(java.lang.String subnetId)
Sets the value of
CfnLoadBalancer.SubnetMappingProperty.getSubnetId() |
public CfnLoadBalancer.SubnetMappingProperty.Builder subnetId(java.lang.String subnetId)
CfnLoadBalancer.SubnetMappingProperty.getSubnetId()
subnetId
- The ID of the subnet. This parameter is required.this
public CfnLoadBalancer.SubnetMappingProperty.Builder allocationId(java.lang.String allocationId)
CfnLoadBalancer.SubnetMappingProperty.getAllocationId()
allocationId
- [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.this
public CfnLoadBalancer.SubnetMappingProperty.Builder iPv6Address(java.lang.String iPv6Address)
CfnLoadBalancer.SubnetMappingProperty.getIPv6Address()
iPv6Address
- [Network Load Balancers] The IPv6 address.this
public CfnLoadBalancer.SubnetMappingProperty.Builder privateIPv4Address(java.lang.String privateIPv4Address)
CfnLoadBalancer.SubnetMappingProperty.getPrivateIPv4Address()
privateIPv4Address
- [Network Load Balancers] The private IPv4 address for an internal load balancer.this
public CfnLoadBalancer.SubnetMappingProperty build()
CfnLoadBalancer.SubnetMappingProperty
java.lang.NullPointerException
- if any required attribute was not provided