|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ReplaceNetworkAclEntryRequest
public class ReplaceNetworkAclEntryRequest
Container for the parameters to the ReplaceNetworkAclEntry operation.
Replaces an entry (i.e., rule) in a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
AmazonEC2.replaceNetworkAclEntry(ReplaceNetworkAclEntryRequest),
Serialized Form| Constructor Summary | |
|---|---|
ReplaceNetworkAclEntryRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCidrBlock()
The CIDR range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24). |
Request<ReplaceNetworkAclEntryRequest> |
getDryRunRequest()
This method is intended for internal use only. |
Boolean |
getEgress()
Whether this rule applies to egress traffic from the subnet ( true) or ingress traffic (false). |
IcmpTypeCode |
getIcmpTypeCode()
ICMP values. |
String |
getNetworkAclId()
ID of the ACL where the entry will be replaced. |
PortRange |
getPortRange()
Port ranges. |
String |
getProtocol()
IP protocol the rule applies to. |
String |
getRuleAction()
Whether to allow or deny traffic that matches the rule. |
Integer |
getRuleNumber()
Rule number of the entry to replace. |
int |
hashCode()
|
Boolean |
isEgress()
Whether this rule applies to egress traffic from the subnet ( true) or ingress traffic (false). |
void |
setCidrBlock(String cidrBlock)
The CIDR range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24). |
void |
setEgress(Boolean egress)
Whether this rule applies to egress traffic from the subnet ( true) or ingress traffic (false). |
void |
setIcmpTypeCode(IcmpTypeCode icmpTypeCode)
ICMP values. |
void |
setNetworkAclId(String networkAclId)
ID of the ACL where the entry will be replaced. |
void |
setPortRange(PortRange portRange)
Port ranges. |
void |
setProtocol(String protocol)
IP protocol the rule applies to. |
void |
setRuleAction(RuleAction ruleAction)
Whether to allow or deny traffic that matches the rule. |
void |
setRuleAction(String ruleAction)
Whether to allow or deny traffic that matches the rule. |
void |
setRuleNumber(Integer ruleNumber)
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 CIDR range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24). |
ReplaceNetworkAclEntryRequest |
withEgress(Boolean egress)
Whether this rule applies to egress traffic from the subnet ( true) or ingress traffic (false). |
ReplaceNetworkAclEntryRequest |
withIcmpTypeCode(IcmpTypeCode icmpTypeCode)
ICMP values. |
ReplaceNetworkAclEntryRequest |
withNetworkAclId(String networkAclId)
ID of the ACL where the entry will be replaced. |
ReplaceNetworkAclEntryRequest |
withPortRange(PortRange portRange)
Port ranges. |
ReplaceNetworkAclEntryRequest |
withProtocol(String protocol)
IP protocol the rule applies to. |
ReplaceNetworkAclEntryRequest |
withRuleAction(RuleAction ruleAction)
Whether to allow or deny traffic that matches the rule. |
ReplaceNetworkAclEntryRequest |
withRuleAction(String ruleAction)
Whether to allow or deny traffic that matches the rule. |
ReplaceNetworkAclEntryRequest |
withRuleNumber(Integer ruleNumber)
Rule number of the entry to replace. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReplaceNetworkAclEntryRequest()
| Method Detail |
|---|
public String getNetworkAclId()
public void setNetworkAclId(String networkAclId)
networkAclId - ID of the ACL where the entry will be replaced.public ReplaceNetworkAclEntryRequest withNetworkAclId(String networkAclId)
Returns a reference to this object so that method calls can be chained together.
networkAclId - ID of the ACL where the entry will be replaced.
public Integer getRuleNumber()
public void setRuleNumber(Integer ruleNumber)
ruleNumber - Rule number of the entry to replace.public ReplaceNetworkAclEntryRequest withRuleNumber(Integer ruleNumber)
Returns a reference to this object so that method calls can be chained together.
ruleNumber - Rule number of the entry to replace.
public String getProtocol()
tcp,
udp, icmp or an IP protocol number.
tcp,
udp, icmp or an IP protocol number.public void setProtocol(String protocol)
tcp,
udp, icmp or an IP protocol number.
protocol - IP protocol the rule applies to. Valid Values: tcp,
udp, icmp or an IP protocol number.public ReplaceNetworkAclEntryRequest withProtocol(String protocol)
tcp,
udp, icmp or an IP protocol number.
Returns a reference to this object so that method calls can be chained together.
protocol - IP protocol the rule applies to. Valid Values: tcp,
udp, icmp or an IP protocol number.
public String getRuleAction()
Constraints:
Allowed Values: allow, deny
RuleActionpublic void setRuleAction(String ruleAction)
Constraints:
Allowed Values: allow, deny
ruleAction - Whether to allow or deny traffic that matches the rule.RuleActionpublic ReplaceNetworkAclEntryRequest withRuleAction(String ruleAction)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: allow, deny
ruleAction - Whether to allow or deny traffic that matches the rule.
RuleActionpublic void setRuleAction(RuleAction ruleAction)
Constraints:
Allowed Values: allow, deny
ruleAction - Whether to allow or deny traffic that matches the rule.RuleActionpublic ReplaceNetworkAclEntryRequest withRuleAction(RuleAction ruleAction)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: allow, deny
ruleAction - Whether to allow or deny traffic that matches the rule.
RuleActionpublic Boolean isEgress()
true) or ingress traffic (false).
true) or ingress traffic (false).public void setEgress(Boolean egress)
true) or ingress traffic (false).
egress - Whether this rule applies to egress traffic from the subnet
(true) or ingress traffic (false).public ReplaceNetworkAclEntryRequest withEgress(Boolean egress)
true) or ingress traffic (false).
Returns a reference to this object so that method calls can be chained together.
egress - Whether this rule applies to egress traffic from the subnet
(true) or ingress traffic (false).
public Boolean getEgress()
true) or ingress traffic (false).
true) or ingress traffic (false).public String getCidrBlock()
172.16.0.0/24).
172.16.0.0/24).public void setCidrBlock(String cidrBlock)
172.16.0.0/24).
cidrBlock - The CIDR range to allow or deny, in CIDR notation (e.g.,
172.16.0.0/24).public ReplaceNetworkAclEntryRequest withCidrBlock(String cidrBlock)
172.16.0.0/24).
Returns a reference to this object so that method calls can be chained together.
cidrBlock - The CIDR range to allow or deny, in CIDR notation (e.g.,
172.16.0.0/24).
public IcmpTypeCode getIcmpTypeCode()
public void setIcmpTypeCode(IcmpTypeCode icmpTypeCode)
icmpTypeCode - ICMP values.public ReplaceNetworkAclEntryRequest withIcmpTypeCode(IcmpTypeCode icmpTypeCode)
Returns a reference to this object so that method calls can be chained together.
icmpTypeCode - ICMP values.
public PortRange getPortRange()
public void setPortRange(PortRange portRange)
portRange - Port ranges.public ReplaceNetworkAclEntryRequest withPortRange(PortRange portRange)
Returns a reference to this object so that method calls can be chained together.
portRange - Port ranges.
public Request<ReplaceNetworkAclEntryRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ReplaceNetworkAclEntryRequest>public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||