@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsNetworkFirewallFirewallSubnetMappingsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A public subnet that Network Firewall uses for the firewall.
Constructor and Description |
---|
AwsNetworkFirewallFirewallSubnetMappingsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsNetworkFirewallFirewallSubnetMappingsDetails |
clone() |
boolean |
equals(Object obj) |
String |
getSubnetId()
The identifier of the subnet
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSubnetId(String subnetId)
The identifier of the subnet
|
String |
toString()
Returns a string representation of this object.
|
AwsNetworkFirewallFirewallSubnetMappingsDetails |
withSubnetId(String subnetId)
The identifier of the subnet
|
public AwsNetworkFirewallFirewallSubnetMappingsDetails()
public void setSubnetId(String subnetId)
The identifier of the subnet
subnetId
- The identifier of the subnetpublic String getSubnetId()
The identifier of the subnet
public AwsNetworkFirewallFirewallSubnetMappingsDetails withSubnetId(String subnetId)
The identifier of the subnet
subnetId
- The identifier of the subnetpublic String toString()
toString
in class Object
Object.toString()
public AwsNetworkFirewallFirewallSubnetMappingsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.