com.amazonaws.services.ec2.model
Class DeleteNetworkAclEntryRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteNetworkAclEntryRequest
All Implemented Interfaces:
DryRunSupportedRequest<DeleteNetworkAclEntryRequest>, java.io.Serializable

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

Container for the parameters to the DeleteNetworkAclEntry operation.

Deletes the specified ingress or egress entry (rule) from the specified network ACL.

See Also:
AmazonEC2.deleteNetworkAclEntry(DeleteNetworkAclEntryRequest), Serialized Form

Constructor Summary
DeleteNetworkAclEntryRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<DeleteNetworkAclEntryRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.Boolean getEgress()
          Indicates whether the rule is an egress rule.
 java.lang.String getNetworkAclId()
          The ID of the network ACL.
 java.lang.Integer getRuleNumber()
          The rule number of the entry to delete.
 int hashCode()
           
 java.lang.Boolean isEgress()
          Indicates whether the rule is an egress rule.
 void setEgress(java.lang.Boolean egress)
          Indicates whether the rule is an egress rule.
 void setNetworkAclId(java.lang.String networkAclId)
          The ID of the network ACL.
 void setRuleNumber(java.lang.Integer ruleNumber)
          The rule number of the entry to delete.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteNetworkAclEntryRequest withEgress(java.lang.Boolean egress)
          Indicates whether the rule is an egress rule.
 DeleteNetworkAclEntryRequest withNetworkAclId(java.lang.String networkAclId)
          The ID of the network ACL.
 DeleteNetworkAclEntryRequest withRuleNumber(java.lang.Integer ruleNumber)
          The rule number of the entry to delete.
 
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

DeleteNetworkAclEntryRequest

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

getRuleNumber

public java.lang.Integer getRuleNumber()
The rule number of the entry to delete.

Returns:
The rule number of the entry to delete.

setRuleNumber

public void setRuleNumber(java.lang.Integer ruleNumber)
The rule number of the entry to delete.

Parameters:
ruleNumber - The rule number of the entry to delete.

withRuleNumber

public DeleteNetworkAclEntryRequest withRuleNumber(java.lang.Integer ruleNumber)
The rule number of the entry to delete.

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

Parameters:
ruleNumber - The rule number of the entry to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

isEgress

public java.lang.Boolean isEgress()
Indicates whether the rule is an egress rule.

Returns:
Indicates whether the rule is an egress rule.

setEgress

public void setEgress(java.lang.Boolean egress)
Indicates whether the rule is an egress rule.

Parameters:
egress - Indicates whether the rule is an egress rule.

withEgress

public DeleteNetworkAclEntryRequest withEgress(java.lang.Boolean egress)
Indicates whether the rule is an egress rule.

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

Parameters:
egress - Indicates whether the rule is an egress rule.
Returns:
A reference to this updated object so that method calls can be chained together.

getEgress

public java.lang.Boolean getEgress()
Indicates whether the rule is an egress rule.

Returns:
Indicates whether the rule is an egress rule.

getDryRunRequest

public Request<DeleteNetworkAclEntryRequest> 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<DeleteNetworkAclEntryRequest>

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.