@Generated(value="software.amazon.awssdk:codegen") public final class SubnetMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SubnetMapping.Builder,SubnetMapping>
The ID for a subnet that you want to associate with the firewall. This is used with CreateFirewall and AssociateSubnets. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SubnetMapping.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SubnetMapping.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IPAddressType |
ipAddressType()
The subnet's IP address type.
|
String |
ipAddressTypeAsString()
The subnet's IP address type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubnetMapping.Builder> |
serializableBuilderClass() |
String |
subnetId()
The unique identifier for the subnet.
|
SubnetMapping.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String subnetId()
The unique identifier for the subnet.
public final IPAddressType ipAddressType()
The subnet's IP address type. You can't change the IP address type after you create the subnet.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IPAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
IPAddressTypepublic final String ipAddressTypeAsString()
The subnet's IP address type. You can't change the IP address type after you create the subnet.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IPAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
IPAddressTypepublic SubnetMapping.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubnetMapping.Builder,SubnetMapping>public static SubnetMapping.Builder builder()
public static Class<? extends SubnetMapping.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.