Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DeleteNetworkAclRequest

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

public class DeleteNetworkAclRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteNetworkAcl operation.

Deletes a network ACL from a VPC. The ACL must not have any subnets associated with it. You can't delete 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.deleteNetworkAcl(DeleteNetworkAclRequest), Serialized Form

Constructor Summary
DeleteNetworkAclRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getNetworkAclId()
          The ID of the network ACL to be deleted.
 int hashCode()
           
 void setNetworkAclId(String networkAclId)
          The ID of the network ACL to be deleted.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteNetworkAclRequest withNetworkAclId(String networkAclId)
          The ID of the network ACL to be deleted.
 
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

DeleteNetworkAclRequest

public DeleteNetworkAclRequest()
Method Detail

getNetworkAclId

public String getNetworkAclId()
The ID of the network ACL to be deleted.

Returns:
The ID of the network ACL to be deleted.

setNetworkAclId

public void setNetworkAclId(String networkAclId)
The ID of the network ACL to be deleted.

Parameters:
networkAclId - The ID of the network ACL to be deleted.

withNetworkAclId

public DeleteNetworkAclRequest withNetworkAclId(String networkAclId)
The ID of the network ACL to be deleted.

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

Parameters:
networkAclId - The ID of the network ACL to be deleted.
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.