@Generated(value="software.amazon.awssdk:codegen") public final class IcmpTypeCode extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IcmpTypeCode.Builder,IcmpTypeCode>
Describes the ICMP type and code.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IcmpTypeCode.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IcmpTypeCode.Builder |
builder() |
Integer |
code()
The ICMP code.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends IcmpTypeCode.Builder> |
serializableBuilderClass() |
IcmpTypeCode.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
type()
The ICMP type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer code()
The ICMP code. A value of -1 means all codes for the specified ICMP type.
public Integer type()
The ICMP type. A value of -1 means all types.
public IcmpTypeCode.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IcmpTypeCode.Builder,IcmpTypeCode>public static IcmpTypeCode.Builder builder()
public static Class<? extends IcmpTypeCode.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.