|
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.services.ec2.model.NetworkAclEntry
public class NetworkAclEntry
Network Acl Entry
| Constructor Summary | |
|---|---|
NetworkAclEntry()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCidrBlock()
Returns the value of the CidrBlock property for this object. |
Boolean |
getEgress()
Returns the value of the Egress property for this object. |
IcmpTypeCode |
getIcmpTypeCode()
|
PortRange |
getPortRange()
|
String |
getProtocol()
Returns the value of the Protocol property for this object. |
String |
getRuleAction()
Returns the value of the RuleAction property for this object. |
Integer |
getRuleNumber()
Returns the value of the RuleNumber property for this object. |
int |
hashCode()
|
Boolean |
isEgress()
Returns the value of the Egress property for this object. |
void |
setCidrBlock(String cidrBlock)
Sets the value of the CidrBlock property for this object. |
void |
setEgress(Boolean egress)
Sets the value of the Egress property for this object. |
void |
setIcmpTypeCode(IcmpTypeCode icmpTypeCode)
|
void |
setPortRange(PortRange portRange)
|
void |
setProtocol(String protocol)
Sets the value of the Protocol property for this object. |
void |
setRuleAction(RuleAction ruleAction)
Sets the value of the RuleAction property for this object. |
void |
setRuleAction(String ruleAction)
Sets the value of the RuleAction property for this object. |
void |
setRuleNumber(Integer ruleNumber)
Sets the value of the RuleNumber property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
NetworkAclEntry |
withCidrBlock(String cidrBlock)
Sets the value of the CidrBlock property for this object. |
NetworkAclEntry |
withEgress(Boolean egress)
Sets the value of the Egress property for this object. |
NetworkAclEntry |
withIcmpTypeCode(IcmpTypeCode icmpTypeCode)
Returns a reference to this object so that method calls can be chained together. |
NetworkAclEntry |
withPortRange(PortRange portRange)
Returns a reference to this object so that method calls can be chained together. |
NetworkAclEntry |
withProtocol(String protocol)
Sets the value of the Protocol property for this object. |
NetworkAclEntry |
withRuleAction(RuleAction ruleAction)
Sets the value of the RuleAction property for this object. |
NetworkAclEntry |
withRuleAction(String ruleAction)
Sets the value of the RuleAction property for this object. |
NetworkAclEntry |
withRuleNumber(Integer ruleNumber)
Sets the value of the RuleNumber property for this object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkAclEntry()
| Method Detail |
|---|
public Integer getRuleNumber()
public void setRuleNumber(Integer ruleNumber)
ruleNumber - The new value for the RuleNumber property for this object.public NetworkAclEntry withRuleNumber(Integer ruleNumber)
Returns a reference to this object so that method calls can be chained together.
ruleNumber - The new value for the RuleNumber property for this object.
public String getProtocol()
public void setProtocol(String protocol)
protocol - The new value for the Protocol property for this object.public NetworkAclEntry withProtocol(String protocol)
Returns a reference to this object so that method calls can be chained together.
protocol - The new value for the Protocol property for this object.
public String getRuleAction()
Constraints:
Allowed Values: allow, deny
RuleActionpublic void setRuleAction(String ruleAction)
Constraints:
Allowed Values: allow, deny
ruleAction - The new value for the RuleAction property for this object.RuleActionpublic NetworkAclEntry withRuleAction(String ruleAction)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: allow, deny
ruleAction - The new value for the RuleAction property for this object.
RuleActionpublic void setRuleAction(RuleAction ruleAction)
Constraints:
Allowed Values: allow, deny
ruleAction - The new value for the RuleAction property for this object.RuleActionpublic NetworkAclEntry withRuleAction(RuleAction ruleAction)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: allow, deny
ruleAction - The new value for the RuleAction property for this object.
RuleActionpublic Boolean isEgress()
public void setEgress(Boolean egress)
egress - The new value for the Egress property for this object.public NetworkAclEntry withEgress(Boolean egress)
Returns a reference to this object so that method calls can be chained together.
egress - The new value for the Egress property for this object.
public Boolean getEgress()
public String getCidrBlock()
public void setCidrBlock(String cidrBlock)
cidrBlock - The new value for the CidrBlock property for this object.public NetworkAclEntry withCidrBlock(String cidrBlock)
Returns a reference to this object so that method calls can be chained together.
cidrBlock - The new value for the CidrBlock property for this object.
public IcmpTypeCode getIcmpTypeCode()
public void setIcmpTypeCode(IcmpTypeCode icmpTypeCode)
icmpTypeCode - public NetworkAclEntry withIcmpTypeCode(IcmpTypeCode icmpTypeCode)
Returns a reference to this object so that method calls can be chained together.
icmpTypeCode -
public PortRange getPortRange()
public void setPortRange(PortRange portRange)
portRange - public NetworkAclEntry withPortRange(PortRange portRange)
Returns a reference to this object so that method calls can be chained together.
portRange -
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 | ||||||