Class DataItem
- java.lang.Object
-
- software.amazon.awssdk.services.honeycode.model.DataItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataItem.Builder,DataItem>
@Generated("software.amazon.awssdk:codegen") public final class DataItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataItem.Builder,DataItem>
The data in a particular data cell defined on the screen.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringformattedValue()The formatted value of the data.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()FormatoverrideFormat()The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.StringoverrideFormatAsString()The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.StringrawValue()The raw value of the data.List<SdkField<?>>sdkFields()static Class<? extends DataItem.Builder>serializableBuilderClass()DataItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
overrideFormat
public final Format overrideFormat()
The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.
If the service returns an enum value that is not available in the current SDK version,
overrideFormatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoverrideFormatAsString().- Returns:
- The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.
- See Also:
Format
-
overrideFormatAsString
public final String overrideFormatAsString()
The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.
If the service returns an enum value that is not available in the current SDK version,
overrideFormatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoverrideFormatAsString().- Returns:
- The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.
- See Also:
Format
-
rawValue
public final String rawValue()
The raw value of the data. e.g. jsmith@example.com
- Returns:
- The raw value of the data. e.g. jsmith@example.com
-
formattedValue
public final String formattedValue()
The formatted value of the data. e.g. John Smith.
- Returns:
- The formatted value of the data. e.g. John Smith.
-
toBuilder
public DataItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataItem.Builder,DataItem>
-
builder
public static DataItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataItem.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.
-
-