public class ReplaceNetworkAclEntryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReplaceNetworkAclEntryRequest>
NOOP
Constructor and Description |
---|
ReplaceNetworkAclEntryRequest() |
Modifier and Type | Method and Description |
---|---|
ReplaceNetworkAclEntryRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCidrBlock()
The network range to allow or deny, in CIDR notation.
|
Request<ReplaceNetworkAclEntryRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Boolean |
getEgress()
Indicates whether to replace the egress rule.
|
IcmpTypeCode |
getIcmpTypeCode()
ICMP protocol: The ICMP type and code.
|
String |
getNetworkAclId()
The ID of the ACL.
|
PortRange |
getPortRange()
TCP or UDP protocols: The range of ports the rule applies to.
|
String |
getProtocol()
The IP protocol.
|
String |
getRuleAction()
Indicates whether to allow or deny the traffic that matches the rule.
|
Integer |
getRuleNumber()
The rule number of the entry to replace.
|
int |
hashCode() |
Boolean |
isEgress()
Indicates whether to replace the egress rule.
|
void |
setCidrBlock(String cidrBlock)
The network range to allow or deny, in CIDR notation.
|
void |
setEgress(Boolean egress)
Indicates whether to replace the egress rule.
|
void |
setIcmpTypeCode(IcmpTypeCode icmpTypeCode)
ICMP protocol: The ICMP type and code.
|
void |
setNetworkAclId(String networkAclId)
The ID of the ACL.
|
void |
setPortRange(PortRange portRange)
TCP or UDP protocols: The range of ports the rule applies to.
|
void |
setProtocol(String protocol)
The IP protocol.
|
void |
setRuleAction(RuleAction ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
|
void |
setRuleAction(String ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
|
void |
setRuleNumber(Integer ruleNumber)
The rule number of the entry to replace.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplaceNetworkAclEntryRequest |
withCidrBlock(String cidrBlock)
The network range to allow or deny, in CIDR notation.
|
ReplaceNetworkAclEntryRequest |
withEgress(Boolean egress)
Indicates whether to replace the egress rule.
|
ReplaceNetworkAclEntryRequest |
withIcmpTypeCode(IcmpTypeCode icmpTypeCode)
ICMP protocol: The ICMP type and code.
|
ReplaceNetworkAclEntryRequest |
withNetworkAclId(String networkAclId)
The ID of the ACL.
|
ReplaceNetworkAclEntryRequest |
withPortRange(PortRange portRange)
TCP or UDP protocols: The range of ports the rule applies to.
|
ReplaceNetworkAclEntryRequest |
withProtocol(String protocol)
The IP protocol.
|
ReplaceNetworkAclEntryRequest |
withRuleAction(RuleAction ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
|
ReplaceNetworkAclEntryRequest |
withRuleAction(String ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
|
ReplaceNetworkAclEntryRequest |
withRuleNumber(Integer ruleNumber)
The rule number of the entry to replace.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNetworkAclId(String networkAclId)
The ID of the ACL.
networkAclId
- The ID of the ACL.public String getNetworkAclId()
The ID of the ACL.
public ReplaceNetworkAclEntryRequest withNetworkAclId(String networkAclId)
The ID of the ACL.
networkAclId
- The ID of the ACL.public void setRuleNumber(Integer ruleNumber)
The rule number of the entry to replace.
ruleNumber
- The rule number of the entry to replace.public Integer getRuleNumber()
The rule number of the entry to replace.
public ReplaceNetworkAclEntryRequest withRuleNumber(Integer ruleNumber)
The rule number of the entry to replace.
ruleNumber
- The rule number of the entry to replace.public void setProtocol(String protocol)
The IP protocol. You can specify all
or -1
to
mean all protocols.
protocol
- The IP protocol. You can specify all
or
-1
to mean all protocols.public String getProtocol()
The IP protocol. You can specify all
or -1
to
mean all protocols.
all
or
-1
to mean all protocols.public ReplaceNetworkAclEntryRequest withProtocol(String protocol)
The IP protocol. You can specify all
or -1
to
mean all protocols.
protocol
- The IP protocol. You can specify all
or
-1
to mean all protocols.public void setRuleAction(String ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
ruleAction
- Indicates whether to allow or deny the traffic that matches the
rule.RuleAction
public String getRuleAction()
Indicates whether to allow or deny the traffic that matches the rule.
RuleAction
public ReplaceNetworkAclEntryRequest withRuleAction(String ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
ruleAction
- Indicates whether to allow or deny the traffic that matches the
rule.RuleAction
public void setRuleAction(RuleAction ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
ruleAction
- Indicates whether to allow or deny the traffic that matches the
rule.RuleAction
public ReplaceNetworkAclEntryRequest withRuleAction(RuleAction ruleAction)
Indicates whether to allow or deny the traffic that matches the rule.
ruleAction
- Indicates whether to allow or deny the traffic that matches the
rule.RuleAction
public void setEgress(Boolean egress)
Indicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
egress
- Indicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
public Boolean getEgress()
Indicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
Default: If no value is specified, we replace the ingress rule.
public ReplaceNetworkAclEntryRequest withEgress(Boolean egress)
Indicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
egress
- Indicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
public Boolean isEgress()
Indicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
Default: If no value is specified, we replace the ingress rule.
public void setCidrBlock(String cidrBlock)
The network range to allow or deny, in CIDR notation.
cidrBlock
- The network range to allow or deny, in CIDR notation.public String getCidrBlock()
The network range to allow or deny, in CIDR notation.
public ReplaceNetworkAclEntryRequest withCidrBlock(String cidrBlock)
The network range to allow or deny, in CIDR notation.
cidrBlock
- The network range to allow or deny, in CIDR notation.public void setIcmpTypeCode(IcmpTypeCode icmpTypeCode)
ICMP protocol: The ICMP type and code. Required if specifying 1 (ICMP) for the protocol.
icmpTypeCode
- ICMP protocol: The ICMP type and code. Required if specifying 1
(ICMP) for the protocol.public IcmpTypeCode getIcmpTypeCode()
ICMP protocol: The ICMP type and code. Required if specifying 1 (ICMP) for the protocol.
public ReplaceNetworkAclEntryRequest withIcmpTypeCode(IcmpTypeCode icmpTypeCode)
ICMP protocol: The ICMP type and code. Required if specifying 1 (ICMP) for the protocol.
icmpTypeCode
- ICMP protocol: The ICMP type and code. Required if specifying 1
(ICMP) for the protocol.public void setPortRange(PortRange portRange)
TCP or UDP protocols: The range of ports the rule applies to. Required if specifying 6 (TCP) or 17 (UDP) for the protocol.
portRange
- TCP or UDP protocols: The range of ports the rule applies to.
Required if specifying 6 (TCP) or 17 (UDP) for the protocol.public PortRange getPortRange()
TCP or UDP protocols: The range of ports the rule applies to. Required if specifying 6 (TCP) or 17 (UDP) for the protocol.
public ReplaceNetworkAclEntryRequest withPortRange(PortRange portRange)
TCP or UDP protocols: The range of ports the rule applies to. Required if specifying 6 (TCP) or 17 (UDP) for the protocol.
portRange
- TCP or UDP protocols: The range of ports the rule applies to.
Required if specifying 6 (TCP) or 17 (UDP) for the protocol.public Request<ReplaceNetworkAclEntryRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReplaceNetworkAclEntryRequest>
public String toString()
toString
in class Object
Object.toString()
public ReplaceNetworkAclEntryRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.