@Generated(value="software.amazon.awssdk:codegen") public final class Field extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Field.Builder,Field>
Describes the name and data type at a field.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Field.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Field.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the field.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Field.Builder> |
serializableBuilderClass() |
Field.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
FieldType |
type()
The data type of the field.
|
String |
typeAsString()
The data type of the field.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the field.
public final FieldType type()
The data type of the field.
If the service returns an enum value that is not available in the current SDK version, type will return
FieldType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FieldTypepublic final String typeAsString()
The data type of the field.
If the service returns an enum value that is not available in the current SDK version, type will return
FieldType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FieldTypepublic Field.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Field.Builder,Field>public static Field.Builder builder()
public static Class<? extends Field.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.