Class TypeConverterEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TypeConverterEntry.Builder,TypeConverterEntry>
This object defines one value type that will be converted using the typeConverter processor.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeConverterEntry.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringkey()The key with the value that is to be converted to a different type.static Class<? extends TypeConverterEntry.Builder>final StringtoString()Returns a string representation of this object.final Typetype()The type to convert the field value to.final StringThe type to convert the field value to.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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:
-
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:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<TypeConverterEntry.Builder,TypeConverterEntry>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-