Class SubnetMapping
java.lang.Object
software.amazon.awssdk.services.elasticloadbalancingv2.model.SubnetMapping
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SubnetMapping.Builder,SubnetMapping>
@Generated("software.amazon.awssdk:codegen")
public final class SubnetMapping
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<SubnetMapping.Builder,SubnetMapping>
Information about a subnet mapping.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.static SubnetMapping.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final String[Network Load Balancers] The IPv6 address.final String[Network Load Balancers] The private IPv4 address for an internal load balancer.static Class<? extends SubnetMapping.Builder>final String[Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT.final StringsubnetId()The ID of the subnet.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
subnetId
The ID of the subnet.
- Returns:
- The ID of the subnet.
-
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
[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
[Network Load Balancers] The IPv6 address.
- Returns:
- [Network Load Balancers] The IPv6 address.
-
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_assignedto 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_assignedto use an IPv6 prefix selected at random from the subnet CIDR block.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SubnetMapping.Builder,SubnetMapping>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-