Class SubnetMapping

    • Method Detail

      • subnetId

        public final String subnetId()

        The ID of the subnet.

        Returns:
        The ID of the subnet.
      • allocationId

        public final String allocationId()

        [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.

        Returns:
        [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
      • privateIPv4Address

        public final String privateIPv4Address()

        [Network Load Balancers] The private IPv4 address for an internal load balancer.

        Returns:
        [Network Load Balancers] The private IPv4 address for an internal load balancer.
      • iPv6Address

        public final String iPv6Address()

        [Network Load Balancers] The IPv6 address.

        Returns:
        [Network Load Balancers] The IPv6 address.
      • sourceNatIpv6Prefix

        public final String sourceNatIpv6Prefix()

        [Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.

        Returns:
        [Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)