@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, wait
copy
public final String name()
The name of the field.
public final 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()
.
FieldType
public final 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()
.
FieldType
public 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 SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.