Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteNetworkAclEntryRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteNetworkAclEntryRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)Request<DeleteNetworkAclEntryRequest>getDryRunRequest()This method is intended for internal use only.BooleangetEgress()Indicates whether the rule is an egress rule.StringgetNetworkAclId()The ID of the network ACL.IntegergetRuleNumber()The rule number of the entry to delete.inthashCode()BooleanisEgress()Indicates whether the rule is an egress rule.voidsetEgress(Boolean egress)Indicates whether the rule is an egress rule.voidsetNetworkAclId(String networkAclId)The ID of the network ACL.voidsetRuleNumber(Integer ruleNumber)The rule number of the entry to delete.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeleteNetworkAclEntryRequestwithEgress(Boolean egress)Indicates whether the rule is an egress rule.DeleteNetworkAclEntryRequestwithNetworkAclId(String networkAclId)The ID of the network ACL.DeleteNetworkAclEntryRequestwithRuleNumber(Integer ruleNumber)The rule number of the entry to delete.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
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:
getDryRunRequestin interfaceDryRunSupportedRequest<DeleteNetworkAclEntryRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteNetworkAclEntryRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-