Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class ReplaceNetworkAclAssociationRequest

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

public class ReplaceNetworkAclAssociationRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ReplaceNetworkAclAssociation operation.

Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

See Also:
AmazonEC2.replaceNetworkAclAssociation(ReplaceNetworkAclAssociationRequest), Serialized Form

Constructor Summary
ReplaceNetworkAclAssociationRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAssociationId()
          The ID representing the current association between the original network ACL and the subnet.
 String getNetworkAclId()
          The ID of the new ACL to associate with the subnet.
 int hashCode()
           
 void setAssociationId(String associationId)
          The ID representing the current association between the original network ACL and the subnet.
 void setNetworkAclId(String networkAclId)
          The ID of the new ACL to associate with the subnet.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReplaceNetworkAclAssociationRequest withAssociationId(String associationId)
          The ID representing the current association between the original network ACL and the subnet.
 ReplaceNetworkAclAssociationRequest withNetworkAclId(String networkAclId)
          The ID of the new ACL to associate with the subnet.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplaceNetworkAclAssociationRequest

public ReplaceNetworkAclAssociationRequest()
Method Detail

getAssociationId

public String getAssociationId()
The ID representing the current association between the original network ACL and the subnet.

Returns:
The ID representing the current association between the original network ACL and the subnet.

setAssociationId

public void setAssociationId(String associationId)
The ID representing the current association between the original network ACL and the subnet.

Parameters:
associationId - The ID representing the current association between the original network ACL and the subnet.

withAssociationId

public ReplaceNetworkAclAssociationRequest withAssociationId(String associationId)
The ID representing the current association between the original network ACL and the subnet.

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

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

getNetworkAclId

public String getNetworkAclId()
The ID of the new ACL to associate with the subnet.

Returns:
The ID of the new ACL to associate with the subnet.

setNetworkAclId

public void setNetworkAclId(String networkAclId)
The ID of the new ACL to associate with the subnet.

Parameters:
networkAclId - The ID of the new ACL to associate with the subnet.

withNetworkAclId

public ReplaceNetworkAclAssociationRequest withNetworkAclId(String networkAclId)
The ID of the new ACL to associate with the subnet.

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

Parameters:
networkAclId - The ID of the new ACL to associate with the subnet.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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