@Generated(value="software.amazon.awssdk:codegen") public final class FieldPosition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FieldPosition.Builder,FieldPosition>
Describes the field position.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FieldPosition.Builder |
static class |
FieldPosition.Type |
| Modifier and Type | Method and Description |
|---|---|
String |
below()
The field position is below the field specified by the string.
|
static FieldPosition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FixedPosition |
fixed()
The field position is fixed and doesn't change in relation to other fields.
|
String |
fixedAsString()
The field position is fixed and doesn't change in relation to other fields.
|
static FieldPosition |
fromBelow(String below)
Create an instance of this class with
below() initialized to the given value. |
static FieldPosition |
fromFixed(FixedPosition fixed)
Create an instance of this class with
fixedAsString() initialized to the given value. |
static FieldPosition |
fromFixed(String fixed)
Create an instance of this class with
fixedAsString() initialized to the given value. |
static FieldPosition |
fromRightOf(String rightOf)
Create an instance of this class with
rightOf() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
rightOf()
The field position is to the right of the field specified by the string.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FieldPosition.Builder> |
serializableBuilderClass() |
FieldPosition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
FieldPosition.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FixedPosition fixed()
The field position is fixed and doesn't change in relation to other fields.
If the service returns an enum value that is not available in the current SDK version, fixed will return
FixedPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fixedAsString().
FixedPositionpublic final String fixedAsString()
The field position is fixed and doesn't change in relation to other fields.
If the service returns an enum value that is not available in the current SDK version, fixed will return
FixedPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fixedAsString().
FixedPositionpublic final String rightOf()
The field position is to the right of the field specified by the string.
public final String below()
The field position is below the field specified by the string.
public FieldPosition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FieldPosition.Builder,FieldPosition>public static FieldPosition.Builder builder()
public static Class<? extends FieldPosition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static FieldPosition fromFixed(String fixed)
fixedAsString() initialized to the given value.
The field position is fixed and doesn't change in relation to other fields.
fixed - The field position is fixed and doesn't change in relation to other fields.FixedPositionpublic static FieldPosition fromFixed(FixedPosition fixed)
fixedAsString() initialized to the given value.
The field position is fixed and doesn't change in relation to other fields.
fixed - The field position is fixed and doesn't change in relation to other fields.FixedPositionpublic static FieldPosition fromRightOf(String rightOf)
rightOf() initialized to the given value.
The field position is to the right of the field specified by the string.
rightOf - The field position is to the right of the field specified by the string.public static FieldPosition fromBelow(String below)
below() initialized to the given value.
The field position is below the field specified by the string.
below - The field position is below the field specified by the string.public FieldPosition.Type type()
FieldPosition.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 FieldPosition.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.