@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkAclIcmpTypeCode extends Object implements Serializable, Cloneable, StructuredPojo
ICMP protocol: The ICMP type and code.
| Constructor and Description |
|---|
NetworkAclIcmpTypeCode() |
| Modifier and Type | Method and Description |
|---|---|
NetworkAclIcmpTypeCode |
clone() |
boolean |
equals(Object obj) |
Integer |
getCode()
ICMP code.
|
Integer |
getType()
ICMP type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCode(Integer code)
ICMP code.
|
void |
setType(Integer type)
ICMP type.
|
String |
toString()
Returns a string representation of this object.
|
NetworkAclIcmpTypeCode |
withCode(Integer code)
ICMP code.
|
NetworkAclIcmpTypeCode |
withType(Integer type)
ICMP type.
|
public void setCode(Integer code)
ICMP code.
code - ICMP code.public Integer getCode()
ICMP code.
public NetworkAclIcmpTypeCode withCode(Integer code)
ICMP code.
code - ICMP code.public void setType(Integer type)
ICMP type.
type - ICMP type.public Integer getType()
ICMP type.
public NetworkAclIcmpTypeCode withType(Integer type)
ICMP type.
type - ICMP type.public String toString()
toString in class ObjectObject.toString()public NetworkAclIcmpTypeCode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.