@Generated(value="software.amazon.awssdk:codegen") public final class Field extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Field.Builder,Field>
Contains a value.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Field.Builder |
static class |
Field.Type |
| Modifier and Type | Method and Description |
|---|---|
ArrayValue |
arrayValue()
An array of values.
|
SdkBytes |
blobValue()
A value of BLOB data type.
|
Boolean |
booleanValue()
A value of Boolean data type.
|
static Field.Builder |
builder() |
Double |
doubleValue()
A value of double data type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static Field |
fromArrayValue(ArrayValue arrayValue)
Create an instance of this class with
arrayValue() initialized to the given value. |
static Field |
fromArrayValue(Consumer<ArrayValue.Builder> arrayValue)
Create an instance of this class with
arrayValue() initialized to the given value. |
static Field |
fromBlobValue(SdkBytes blobValue)
Create an instance of this class with
blobValue() initialized to the given value. |
static Field |
fromBooleanValue(Boolean booleanValue)
Create an instance of this class with
booleanValue() initialized to the given value. |
static Field |
fromDoubleValue(Double doubleValue)
Create an instance of this class with
doubleValue() initialized to the given value. |
static Field |
fromIsNull(Boolean isNull)
Create an instance of this class with
isNull() initialized to the given value. |
static Field |
fromLongValue(Long longValue)
Create an instance of this class with
longValue() initialized to the given value. |
static Field |
fromStringValue(String stringValue)
Create an instance of this class with
stringValue() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isNull()
A NULL value.
|
Long |
longValue()
A value of long data type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Field.Builder> |
serializableBuilderClass() |
String |
stringValue()
A value of string data type.
|
Field.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Field.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean isNull()
A NULL value.
public final Boolean booleanValue()
A value of Boolean data type.
public final Long longValue()
A value of long data type.
public final Double doubleValue()
A value of double data type.
public final String stringValue()
A value of string data type.
public final SdkBytes blobValue()
A value of BLOB data type.
public final ArrayValue arrayValue()
An array of values.
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 SdkPojopublic final String toString()
public static Field fromIsNull(Boolean isNull)
isNull() initialized to the given value.
A NULL value.
isNull - A NULL value.public static Field fromBooleanValue(Boolean booleanValue)
booleanValue() initialized to the given value.
A value of Boolean data type.
booleanValue - A value of Boolean data type.public static Field fromLongValue(Long longValue)
longValue() initialized to the given value.
A value of long data type.
longValue - A value of long data type.public static Field fromDoubleValue(Double doubleValue)
doubleValue() initialized to the given value.
A value of double data type.
doubleValue - A value of double data type.public static Field fromStringValue(String stringValue)
stringValue() initialized to the given value.
A value of string data type.
stringValue - A value of string data type.public static Field fromBlobValue(SdkBytes blobValue)
blobValue() initialized to the given value.
A value of BLOB data type.
blobValue - A value of BLOB data type.public static Field fromArrayValue(ArrayValue arrayValue)
arrayValue() initialized to the given value.
An array of values.
arrayValue - An array of values.public static Field fromArrayValue(Consumer<ArrayValue.Builder> arrayValue)
arrayValue() initialized to the given value.
An array of values.
arrayValue - An array of values.public Field.Type type()
Field.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be Field.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.