com.amazonaws.services.ec2.model
Class NetworkAclAssociation

java.lang.Object
  extended by com.amazonaws.services.ec2.model.NetworkAclAssociation
All Implemented Interfaces:
java.io.Serializable

public class NetworkAclAssociation
extends java.lang.Object
implements java.io.Serializable

Describes an association between a network ACL and a subnet.

See Also:
Serialized Form

Constructor Summary
NetworkAclAssociation()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getNetworkAclAssociationId()
          The ID of the association between a network ACL and a subnet.
 java.lang.String getNetworkAclId()
          The ID of the network ACL.
 java.lang.String getSubnetId()
          The ID of the subnet.
 int hashCode()
           
 void setNetworkAclAssociationId(java.lang.String networkAclAssociationId)
          The ID of the association between a network ACL and a subnet.
 void setNetworkAclId(java.lang.String networkAclId)
          The ID of the network ACL.
 void setSubnetId(java.lang.String subnetId)
          The ID of the subnet.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 NetworkAclAssociation withNetworkAclAssociationId(java.lang.String networkAclAssociationId)
          The ID of the association between a network ACL and a subnet.
 NetworkAclAssociation withNetworkAclId(java.lang.String networkAclId)
          The ID of the network ACL.
 NetworkAclAssociation withSubnetId(java.lang.String subnetId)
          The ID of the subnet.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkAclAssociation

public NetworkAclAssociation()
Method Detail

getNetworkAclAssociationId

public java.lang.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.

setNetworkAclAssociationId

public void setNetworkAclAssociationId(java.lang.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.

withNetworkAclAssociationId

public NetworkAclAssociation withNetworkAclAssociationId(java.lang.String networkAclAssociationId)
The ID of the association between a network ACL and a subnet.

Returns a reference to this object so that method calls can be chained together.

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

getNetworkAclId

public java.lang.String getNetworkAclId()
The ID of the network ACL.

Returns:
The ID of the network ACL.

setNetworkAclId

public void setNetworkAclId(java.lang.String networkAclId)
The ID of the network ACL.

Parameters:
networkAclId - The ID of the network ACL.

withNetworkAclId

public NetworkAclAssociation withNetworkAclId(java.lang.String networkAclId)
The ID of the network ACL.

Returns a reference to this object so that method calls can be chained together.

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

getSubnetId

public java.lang.String getSubnetId()
The ID of the subnet.

Returns:
The ID of the subnet.

setSubnetId

public void setSubnetId(java.lang.String subnetId)
The ID of the subnet.

Parameters:
subnetId - The ID of the subnet.

withSubnetId

public NetworkAclAssociation withSubnetId(java.lang.String subnetId)
The ID of the subnet.

Returns a reference to this object so that method calls can be chained together.

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

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.