Class TypeConverterEntry
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatchlogs.model.TypeConverterEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TypeConverterEntry.Builder,TypeConverterEntry>
@Generated("software.amazon.awssdk:codegen") public final class TypeConverterEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TypeConverterEntry.Builder,TypeConverterEntry>
This object defines one value type that will be converted using the typeConverter processor.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTypeConverterEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeConverterEntry.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The key with the value that is to be converted to a different type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TypeConverterEntry.Builder>serializableBuilderClass()TypeConverterEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.Typetype()The type to convert the field value to.StringtypeAsString()The type to convert the field value to.-
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
-
key
public final String key()
The key with the value that is to be converted to a different type.
- Returns:
- The key with the value that is to be converted to a different type.
-
type
public final Type type()
The type to convert the field value to. Valid values are
integer,double,stringandboolean.If the service returns an enum value that is not available in the current SDK version,
typewill returnType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type to convert the field value to. Valid values are
integer,double,stringandboolean. - See Also:
Type
-
typeAsString
public final String typeAsString()
The type to convert the field value to. Valid values are
integer,double,stringandboolean.If the service returns an enum value that is not available in the current SDK version,
typewill returnType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type to convert the field value to. Valid values are
integer,double,stringandboolean. - See Also:
Type
-
toBuilder
public TypeConverterEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TypeConverterEntry.Builder,TypeConverterEntry>
-
builder
public static TypeConverterEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends TypeConverterEntry.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
-
-