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 NetworkAclAssociation
clone()
boolean
equals(Object obj)
String
getNetworkAclAssociationId()
The ID of the association between a network ACL and a subnet.String
getNetworkAclId()
The ID of the network ACL.String
getSubnetId()
The ID of the subnet.int
hashCode()
void
setNetworkAclAssociationId(String networkAclAssociationId)
The ID of the association between a network ACL and a subnet.void
setNetworkAclId(String networkAclId)
The ID of the network ACL.void
setSubnetId(String subnetId)
The ID of the subnet.String
toString()
Returns a string representation of this object; useful for testing and debugging.NetworkAclAssociation
withNetworkAclAssociationId(String networkAclAssociationId)
The ID of the association between a network ACL and a subnet.NetworkAclAssociation
withNetworkAclId(String networkAclId)
The ID of the network ACL.NetworkAclAssociation
withSubnetId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public NetworkAclAssociation clone()
-
-