Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkAclAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkAclAssociationclone()booleanequals(Object obj)StringgetNetworkAclAssociationId()The ID of the association between a network ACL and a subnet.StringgetNetworkAclId()The ID of the network ACL.StringgetSubnetId()The ID of the subnet.inthashCode()voidsetNetworkAclAssociationId(String networkAclAssociationId)The ID of the association between a network ACL and a subnet.voidsetNetworkAclId(String networkAclId)The ID of the network ACL.voidsetSubnetId(String subnetId)The ID of the subnet.StringtoString()Returns a string representation of this object; useful for testing and debugging.NetworkAclAssociationwithNetworkAclAssociationId(String networkAclAssociationId)The ID of the association between a network ACL and a subnet.NetworkAclAssociationwithNetworkAclId(String networkAclId)The ID of the network ACL.NetworkAclAssociationwithSubnetId(String subnetId)The ID of the subnet.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public NetworkAclAssociation clone()
-
-