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:
DryRunSupportedRequest<DeleteNetworkAclRequest>, java.io.Serializable

public class DeleteNetworkAclRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DeleteNetworkAclRequest>

Container for the parameters to the DeleteNetworkAcl operation.

Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.

See Also:
AmazonEC2.deleteNetworkAcl(DeleteNetworkAclRequest), Serialized Form

Constructor Summary
DeleteNetworkAclRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<DeleteNetworkAclRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getNetworkAclId()
          The ID of the network ACL.
 int hashCode()
           
 void setNetworkAclId(java.lang.String networkAclId)
          The ID of the network ACL.
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteNetworkAclRequest

public DeleteNetworkAclRequest()
Method Detail

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 DeleteNetworkAclRequest 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.

getDryRunRequest

public Request<DeleteNetworkAclRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DeleteNetworkAclRequest>

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.