com.amazonaws.services.ec2.model
Class DeleteNetworkAclRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteNetworkAclRequest

public class DeleteNetworkAclRequest
extends AmazonWebServiceRequest

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)

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

Constructor Detail

DeleteNetworkAclRequest

public DeleteNetworkAclRequest()
Method Detail

getNetworkAclId

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


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