|
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.IcmpTypeCode
public class IcmpTypeCode
| Constructor Summary | |
|---|---|
IcmpTypeCode()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getCode()
For the ICMP protocol, the ICMP code. |
java.lang.Integer |
getType()
For the ICMP protocol, the ICMP type. |
int |
hashCode()
|
void |
setCode(java.lang.Integer code)
For the ICMP protocol, the ICMP code. |
void |
setType(java.lang.Integer type)
For the ICMP protocol, the ICMP type. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
IcmpTypeCode |
withCode(java.lang.Integer code)
For the ICMP protocol, the ICMP code. |
IcmpTypeCode |
withType(java.lang.Integer type)
For the ICMP protocol, the ICMP type. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IcmpTypeCode()
| Method Detail |
|---|
public java.lang.Integer getType()
-1 is a
wildcard meaning all types. Required if specifying icmp
for the protocol.
-1 is a
wildcard meaning all types. Required if specifying icmp
for the protocol.public void setType(java.lang.Integer type)
-1 is a
wildcard meaning all types. Required if specifying icmp
for the protocol.
type - For the ICMP protocol, the ICMP type. A value of -1 is a
wildcard meaning all types. Required if specifying icmp
for the protocol.public IcmpTypeCode withType(java.lang.Integer type)
-1 is a
wildcard meaning all types. Required if specifying icmp
for the protocol.
Returns a reference to this object so that method calls can be chained together.
type - For the ICMP protocol, the ICMP type. A value of -1 is a
wildcard meaning all types. Required if specifying icmp
for the protocol.
public java.lang.Integer getCode()
-1 is a
wildcard meaning all codes. Required if specifying icmp
for the protocol.
-1 is a
wildcard meaning all codes. Required if specifying icmp
for the protocol.public void setCode(java.lang.Integer code)
-1 is a
wildcard meaning all codes. Required if specifying icmp
for the protocol.
code - For the ICMP protocol, the ICMP code. A value of -1 is a
wildcard meaning all codes. Required if specifying icmp
for the protocol.public IcmpTypeCode withCode(java.lang.Integer code)
-1 is a
wildcard meaning all codes. Required if specifying icmp
for the protocol.
Returns a reference to this object so that method calls can be chained together.
code - For the ICMP protocol, the ICMP code. A value of -1 is a
wildcard meaning all codes. Required if specifying icmp
for the protocol.
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 | ||||||