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 interfaceIcmpTypeCode.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IcmpTypeCode.Builderbuilder()Integercode()The ICMP code.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IcmpTypeCode.Builder>serializableBuilderClass()IcmpTypeCode.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integertype()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-