|
|||||||
| 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 | |
|---|---|
Integer |
getCode()
For the ICMP protocol, the ICMP code. |
Integer |
getType()
For the ICMP protocol, the ICMP type. |
void |
setCode(Integer code)
For the ICMP protocol, the ICMP code. |
void |
setType(Integer type)
For the ICMP protocol, the ICMP type. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
IcmpTypeCode |
withCode(Integer code)
For the ICMP protocol, the ICMP code. |
IcmpTypeCode |
withType(Integer type)
For the ICMP protocol, the ICMP type. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IcmpTypeCode()
| Method Detail |
|---|
public 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(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(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 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(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(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 String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||