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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SubnetMapping.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
allocationId()
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.static SubnetMapping.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
iPv6Address()
[Network Load Balancers] The IPv6 address.String
privateIPv4Address()
[Network Load Balancers] The private IPv4 address for an internal load balancer.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends SubnetMapping.Builder>
serializableBuilderClass()
String
sourceNatIpv6Prefix()
[Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT.String
subnetId()
The ID of the subnet.SubnetMapping.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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.
-
toBuilder
public SubnetMapping.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SubnetMapping.Builder,SubnetMapping>
-
builder
public static SubnetMapping.Builder builder()
-
serializableBuilderClass
public static Class<? extends SubnetMapping.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-