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