Class NetworkAclAssociation

java.lang.Object
com.amazonaws.services.ec2.model.NetworkAclAssociation
All Implemented Interfaces:
Serializable, Cloneable

public class NetworkAclAssociation extends Object implements Serializable, Cloneable

Describes an association between a network ACL and a subnet.

See Also:
  • Constructor Details

    • NetworkAclAssociation

      public NetworkAclAssociation()
  • Method Details

    • setNetworkAclAssociationId

      public void setNetworkAclAssociationId(String networkAclAssociationId)

      The ID of the association between a network ACL and a subnet.

      Parameters:
      networkAclAssociationId - The ID of the association between a network ACL and a subnet.
    • getNetworkAclAssociationId

      public String getNetworkAclAssociationId()

      The ID of the association between a network ACL and a subnet.

      Returns:
      The ID of the association between a network ACL and a subnet.
    • withNetworkAclAssociationId

      public NetworkAclAssociation withNetworkAclAssociationId(String networkAclAssociationId)

      The ID of the association between a network ACL and a subnet.

      Parameters:
      networkAclAssociationId - The ID of the association between a network ACL and a subnet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNetworkAclId

      public void setNetworkAclId(String networkAclId)

      The ID of the network ACL.

      Parameters:
      networkAclId - The ID of the network ACL.
    • getNetworkAclId

      public String getNetworkAclId()

      The ID of the network ACL.

      Returns:
      The ID of the network ACL.
    • withNetworkAclId

      public NetworkAclAssociation withNetworkAclId(String networkAclId)

      The ID of the network ACL.

      Parameters:
      networkAclId - The ID of the network ACL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSubnetId

      public void setSubnetId(String subnetId)

      The ID of the subnet.

      Parameters:
      subnetId - The ID of the subnet.
    • getSubnetId

      public String getSubnetId()

      The ID of the subnet.

      Returns:
      The ID of the subnet.
    • withSubnetId

      public NetworkAclAssociation withSubnetId(String subnetId)

      The ID of the subnet.

      Parameters:
      subnetId - The ID of the subnet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public NetworkAclAssociation clone()
      Overrides:
      clone in class Object