@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 datatype of the field.
|
String |
typeAsString()
The datatype of the field.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the field.
public FieldType type()
The datatype 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 String typeAsString()
The datatype 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.