public class DeleteNetworkAclEntryRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteNetworkAclEntryRequest>
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.
Constructor and Description |
---|
DeleteNetworkAclEntryRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DeleteNetworkAclEntryRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getNetworkAclId()
public void setNetworkAclId(String networkAclId)
networkAclId
- ID of the network ACL.public DeleteNetworkAclEntryRequest withNetworkAclId(String networkAclId)
Returns a reference to this object so that method calls can be chained together.
networkAclId
- ID of the network ACL.public Integer getRuleNumber()
public void setRuleNumber(Integer ruleNumber)
ruleNumber
- Rule number for the entry to delete.public DeleteNetworkAclEntryRequest withRuleNumber(Integer ruleNumber)
Returns a reference to this object so that method calls can be chained together.
ruleNumber
- Rule number for the entry to delete.public Boolean isEgress()
true
) or
ingress rule (false
).true
) or
ingress rule (false
).public void setEgress(Boolean egress)
true
) or
ingress rule (false
).egress
- Whether the rule to delete is an egress rule (true
) or
ingress rule (false
).public DeleteNetworkAclEntryRequest withEgress(Boolean egress)
true
) or
ingress rule (false
).
Returns a reference to this object so that method calls can be chained together.
egress
- Whether the rule to delete is an egress rule (true
) or
ingress rule (false
).public Boolean getEgress()
true
) or
ingress rule (false
).true
) or
ingress rule (false
).public Request<DeleteNetworkAclEntryRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteNetworkAclEntryRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.