|
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(java.lang.Object obj)
|
java.lang.String |
getCidrBlock()
Returns the value of the CidrBlock property for this object. |
java.lang.Boolean |
getEgress()
Returns the value of the Egress property for this object. |
IcmpTypeCode |
getIcmpTypeCode()
|
PortRange |
getPortRange()
|
java.lang.String |
getProtocol()
Returns the value of the Protocol property for this object. |
java.lang.String |
getRuleAction()
Returns the value of the RuleAction property for this object. |
java.lang.Integer |
getRuleNumber()
Returns the value of the RuleNumber property for this object. |
int |
hashCode()
|
java.lang.Boolean |
isEgress()
Returns the value of the Egress property for this object. |
void |
setCidrBlock(java.lang.String cidrBlock)
Sets the value of the CidrBlock property for this object. |
void |
setEgress(java.lang.Boolean egress)
Sets the value of the Egress property for this object. |
void |
setIcmpTypeCode(IcmpTypeCode icmpTypeCode)
|
void |
setPortRange(PortRange portRange)
|
void |
setProtocol(java.lang.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(java.lang.String ruleAction)
Sets the value of the RuleAction property for this object. |
void |
setRuleNumber(java.lang.Integer ruleNumber)
Sets the value of the RuleNumber property for this object. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
NetworkAclEntry |
withCidrBlock(java.lang.String cidrBlock)
Sets the value of the CidrBlock property for this object. |
NetworkAclEntry |
withEgress(java.lang.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(java.lang.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(java.lang.String ruleAction)
Sets the value of the RuleAction property for this object. |
NetworkAclEntry |
withRuleNumber(java.lang.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 java.lang.Integer getRuleNumber()
public void setRuleNumber(java.lang.Integer ruleNumber)
ruleNumber - The new value for the RuleNumber property for this object.public NetworkAclEntry withRuleNumber(java.lang.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 java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol - The new value for the Protocol property for this object.public NetworkAclEntry withProtocol(java.lang.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 java.lang.String getRuleAction()
Constraints:
Allowed Values: allow, deny
RuleActionpublic void setRuleAction(java.lang.String ruleAction)
Constraints:
Allowed Values: allow, deny
ruleAction - The new value for the RuleAction property for this object.RuleActionpublic NetworkAclEntry withRuleAction(java.lang.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 java.lang.Boolean isEgress()
public void setEgress(java.lang.Boolean egress)
egress - The new value for the Egress property for this object.public NetworkAclEntry withEgress(java.lang.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 java.lang.Boolean getEgress()
public java.lang.String getCidrBlock()
public void setCidrBlock(java.lang.String cidrBlock)
cidrBlock - The new value for the CidrBlock property for this object.public NetworkAclEntry withCidrBlock(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||