public class DeleteNetworkAclEntryRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DeleteNetworkAclEntryRequest>
Contains the parameters for DeleteNetworkAclEntry.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
egress
Indicates whether the rule is an egress rule.
|
private java.lang.String |
networkAclId
The ID of the network ACL.
|
private java.lang.Integer |
ruleNumber
The rule number of the entry to delete.
|
NOOP
Constructor and Description |
---|
DeleteNetworkAclEntryRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteNetworkAclEntryRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String networkAclId
The ID of the network ACL.
private java.lang.Integer ruleNumber
The rule number of the entry to delete.
private java.lang.Boolean egress
Indicates whether the rule is an egress rule.
public void setNetworkAclId(java.lang.String networkAclId)
The ID of the network ACL.
networkAclId
- The ID of the network ACL.public java.lang.String getNetworkAclId()
The ID of the network ACL.
public DeleteNetworkAclEntryRequest withNetworkAclId(java.lang.String networkAclId)
The ID of the network ACL.
networkAclId
- The ID of the network ACL.public void setRuleNumber(java.lang.Integer ruleNumber)
The rule number of the entry to delete.
ruleNumber
- The rule number of the entry to delete.public java.lang.Integer getRuleNumber()
The rule number of the entry to delete.
public DeleteNetworkAclEntryRequest withRuleNumber(java.lang.Integer ruleNumber)
The rule number of the entry to delete.
ruleNumber
- The rule number of the entry to delete.public void setEgress(java.lang.Boolean egress)
Indicates whether the rule is an egress rule.
egress
- Indicates whether the rule is an egress rule.public java.lang.Boolean getEgress()
Indicates whether the rule is an egress rule.
public DeleteNetworkAclEntryRequest withEgress(java.lang.Boolean egress)
Indicates whether the rule is an egress rule.
egress
- Indicates whether the rule is an egress rule.public java.lang.Boolean isEgress()
Indicates whether the rule is an egress rule.
public Request<DeleteNetworkAclEntryRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteNetworkAclEntryRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteNetworkAclEntryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()