Did this page help you?

   Yes   No   Tell us about it...

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:
Serializable

public class DeleteNetworkAclEntryRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteNetworkAclEntry operation.

Deletes an ingress or egress entry (i.e., rule) from a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

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

Constructor Summary
DeleteNetworkAclEntryRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getEgress()
          Whether the rule to delete is an egress rule (true) or ingress rule (false).
 String getNetworkAclId()
          ID of the network ACL.
 Integer getRuleNumber()
          Rule number for the entry to delete.
 int hashCode()
           
 Boolean isEgress()
          Whether the rule to delete is an egress rule (true) or ingress rule (false).
 void setEgress(Boolean egress)
          Whether the rule to delete is an egress rule (true) or ingress rule (false).
 void setNetworkAclId(String networkAclId)
          ID of the network ACL.
 void setRuleNumber(Integer ruleNumber)
          Rule number for the entry to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteNetworkAclEntryRequest withEgress(Boolean egress)
          Whether the rule to delete is an egress rule (true) or ingress rule (false).
 DeleteNetworkAclEntryRequest withNetworkAclId(String networkAclId)
          ID of the network ACL.
 DeleteNetworkAclEntryRequest withRuleNumber(Integer ruleNumber)
          Rule number for the entry to delete.
 
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

DeleteNetworkAclEntryRequest

public DeleteNetworkAclEntryRequest()
Method Detail

getNetworkAclId

public String getNetworkAclId()
ID of the network ACL.

Returns:
ID of the network ACL.

setNetworkAclId

public void setNetworkAclId(String networkAclId)
ID of the network ACL.

Parameters:
networkAclId - ID of the network ACL.

withNetworkAclId

public DeleteNetworkAclEntryRequest withNetworkAclId(String networkAclId)
ID of the network ACL.

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

Parameters:
networkAclId - ID of the network ACL.
Returns:
A reference to this updated object so that method calls can be chained together.

getRuleNumber

public Integer getRuleNumber()
Rule number for the entry to delete.

Returns:
Rule number for the entry to delete.

setRuleNumber

public void setRuleNumber(Integer ruleNumber)
Rule number for the entry to delete.

Parameters:
ruleNumber - Rule number for the entry to delete.

withRuleNumber

public DeleteNetworkAclEntryRequest withRuleNumber(Integer ruleNumber)
Rule number for the entry to delete.

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

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

isEgress

public Boolean isEgress()
Whether the rule to delete is an egress rule (true) or ingress rule (false).

Returns:
Whether the rule to delete is an egress rule (true) or ingress rule (false).

setEgress

public void setEgress(Boolean egress)
Whether the rule to delete is an egress rule (true) or ingress rule (false).

Parameters:
egress - Whether the rule to delete is an egress rule (true) or ingress rule (false).

withEgress

public DeleteNetworkAclEntryRequest withEgress(Boolean egress)
Whether the rule to delete is an egress rule (true) or ingress rule (false).

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

Parameters:
egress - Whether the rule to delete is an egress rule (true) or ingress rule (false).
Returns:
A reference to this updated object so that method calls can be chained together.

getEgress

public Boolean getEgress()
Whether the rule to delete is an egress rule (true) or ingress rule (false).

Returns:
Whether the rule to delete is an egress rule (true) or ingress rule (false).

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.