Class DeleteNetworkAclEntryRequest

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

public class DeleteNetworkAclEntryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteNetworkAclEntryRequest>

Contains the parameters for DeleteNetworkAclEntry.

See Also:
  • Constructor Details

    • DeleteNetworkAclEntryRequest

      public DeleteNetworkAclEntryRequest()
  • Method Details

    • setNetworkAclId

      public void setNetworkAclId(String networkAclId)

      The ID of the network ACL.

      Parameters:
      networkAclId - The ID of the network ACL.
    • getNetworkAclId

      public String getNetworkAclId()

      The ID of the network ACL.

      Returns:
      The ID of the network ACL.
    • withNetworkAclId

      public DeleteNetworkAclEntryRequest withNetworkAclId(String networkAclId)

      The ID of the network ACL.

      Parameters:
      networkAclId - The ID of the network ACL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRuleNumber

      public void setRuleNumber(Integer ruleNumber)

      The rule number of the entry to delete.

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

      public Integer getRuleNumber()

      The rule number of the entry to delete.

      Returns:
      The rule number of the entry to delete.
    • withRuleNumber

      public DeleteNetworkAclEntryRequest withRuleNumber(Integer ruleNumber)

      The rule number of the entry to delete.

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

      public void setEgress(Boolean egress)

      Indicates whether the rule is an egress rule.

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

      public Boolean getEgress()

      Indicates whether the rule is an egress rule.

      Returns:
      Indicates whether the rule is an egress rule.
    • withEgress

      public DeleteNetworkAclEntryRequest withEgress(Boolean egress)

      Indicates whether the rule is an egress rule.

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

      public Boolean isEgress()

      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 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: