Package com.amazonaws.services.ec2.model
Class IcmpTypeCode
java.lang.Object
com.amazonaws.services.ec2.model.IcmpTypeCode
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the ICMP type and code.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IcmpTypeCode
public IcmpTypeCode()
-
-
Method Details
-
setType
The ICMP code. A value of -1 means all codes for the specified ICMP type.
- Parameters:
type
- The ICMP code. A value of -1 means all codes for the specified ICMP type.
-
getType
The ICMP code. A value of -1 means all codes for the specified ICMP type.
- Returns:
- The ICMP code. A value of -1 means all codes for the specified ICMP type.
-
withType
The ICMP code. A value of -1 means all codes for the specified ICMP type.
- Parameters:
type
- The ICMP code. A value of -1 means all codes for the specified ICMP type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCode
The ICMP type. A value of -1 means all types.
- Parameters:
code
- The ICMP type. A value of -1 means all types.
-
getCode
The ICMP type. A value of -1 means all types.
- Returns:
- The ICMP type. A value of -1 means all types.
-
withCode
The ICMP type. A value of -1 means all types.
- Parameters:
code
- The ICMP type. A value of -1 means all types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-