@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubnetMapping extends Object implements Serializable, Cloneable, StructuredPojo
The ID for a subnet that you want to associate with the firewall. This is used with CreateFirewall and AssociateSubnets. AWS Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.
| Constructor and Description |
|---|
SubnetMapping() |
| Modifier and Type | Method and Description |
|---|---|
SubnetMapping |
clone() |
boolean |
equals(Object obj) |
String |
getSubnetId()
The unique identifier for the subnet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSubnetId(String subnetId)
The unique identifier for the subnet.
|
String |
toString()
Returns a string representation of this object.
|
SubnetMapping |
withSubnetId(String subnetId)
The unique identifier for the subnet.
|
public void setSubnetId(String subnetId)
The unique identifier for the subnet.
subnetId - The unique identifier for the subnet.public String getSubnetId()
The unique identifier for the subnet.
public SubnetMapping withSubnetId(String subnetId)
The unique identifier for the subnet.
subnetId - The unique identifier for the subnet.public String toString()
toString in class ObjectObject.toString()public SubnetMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.