@Generated(value="software.amazon.awssdk:codegen") public final class Position extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Position.Builder,Position>
A position in a policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Position.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Position.Builder |
builder() |
Integer |
column()
The column of the position, starting from 0.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
line()
The line of the position, starting from 1.
|
Integer |
offset()
The offset within the policy that corresponds to the position, starting from 0.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Position.Builder> |
serializableBuilderClass() |
Position.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer column()
The column of the position, starting from 0.
public final Integer line()
The line of the position, starting from 1.
public final Integer offset()
The offset within the policy that corresponds to the position, starting from 0.
public Position.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Position.Builder,Position>public static Position.Builder builder()
public static Class<? extends Position.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.