Class IcmpTypeCode
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.IcmpTypeCode
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<IcmpTypeCode.Builder,IcmpTypeCode>
@Generated("software.amazon.awssdk:codegen") public final class IcmpTypeCode extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IcmpTypeCode.Builder,IcmpTypeCode>
Describes the ICMP type and code.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IcmpTypeCode.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IcmpTypeCode.Builder
builder()
Integer
code()
The ICMP code.boolean
equals(Object obj)
boolean
equalsBySdkFields(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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
code
public final Integer code()
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.
-
type
public final Integer type()
The ICMP type. A value of -1 means all types.
- Returns:
- The ICMP type. A value of -1 means all types.
-
toBuilder
public IcmpTypeCode.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<IcmpTypeCode.Builder,IcmpTypeCode>
-
builder
public static IcmpTypeCode.Builder builder()
-
serializableBuilderClass
public static Class<? extends IcmpTypeCode.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-