Interface CfnLoadBalancer.SubnetMappingProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnLoadBalancer.SubnetMappingProperty extends
Specifies a subnet for a load balancer.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 SubnetMappingProperty subnetMappingProperty = SubnetMappingProperty.builder()
         // the properties below are optional
  • Method Details

    • getSubnetId

      @Stability(Stable) @NotNull String getSubnetId()
      The ID of the subnet.
    • getAllocationId

      @Stability(Stable) @Nullable default String getAllocationId()
      [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
    • getIPv6Address

      @Stability(Stable) @Nullable default String getIPv6Address()
      [Network Load Balancers] The IPv6 address.
    • getPrivateIPv4Address

      @Stability(Stable) @Nullable default String getPrivateIPv4Address()
      [Network Load Balancers] The private IPv4 address for an internal load balancer.
    • builder

      @Stability(Stable) static CfnLoadBalancer.SubnetMappingProperty.Builder builder()
      a CfnLoadBalancer.SubnetMappingProperty.Builder of CfnLoadBalancer.SubnetMappingProperty