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 DeleteNetworkAclEntryRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Request<DeleteNetworkAclEntryRequest>
getDryRunRequest()
This method is intended for internal use only.Boolean
getEgress()
Indicates whether the rule is an egress rule.String
getNetworkAclId()
The ID of the network ACL.Integer
getRuleNumber()
The rule number of the entry to delete.int
hashCode()
Boolean
isEgress()
Indicates whether the rule is an egress rule.void
setEgress(Boolean egress)
Indicates whether the rule is an egress rule.void
setNetworkAclId(String networkAclId)
The ID of the network ACL.void
setRuleNumber(Integer ruleNumber)
The rule number of the entry to delete.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeleteNetworkAclEntryRequest
withEgress(Boolean egress)
Indicates whether the rule is an egress rule.DeleteNetworkAclEntryRequest
withNetworkAclId(String networkAclId)
The ID of the network ACL.DeleteNetworkAclEntryRequest
withRuleNumber(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:
getDryRunRequest
in interfaceDryRunSupportedRequest<DeleteNetworkAclEntryRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteNetworkAclEntryRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-