@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
formattedValue()
The formatted value of the data.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
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.
|
String |
rawValue()
The raw value of the data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataItem.Builder> |
serializableBuilderClass() |
DataItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, overrideFormat
will return Format.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
overrideFormatAsString().
Formatpublic 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, overrideFormat
will return Format.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
overrideFormatAsString().
Formatpublic final String rawValue()
The raw value of the data. e.g. jsmith@example.com
public final String formattedValue()
The formatted value of the data. e.g. John Smith.
public DataItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataItem.Builder,DataItem>public static DataItem.Builder builder()
public static Class<? extends DataItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.