@Generated(value="software.amazon.awssdk:codegen") public final class Position extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Position.Builder,Position>
Contains the row and column of a location of a Statement
element in a policy document.
This data type is used as a member of the Statement
type.
Modifier and Type | Class and Description |
---|---|
static interface |
Position.Builder |
Modifier and Type | Method and Description |
---|---|
static Position.Builder |
builder() |
Integer |
column()
The column in the line containing the specified position in the document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
line()
The line containing the specified position in the document.
|
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, wait
copy
public final Integer line()
The line containing the specified position in the document.
public final Integer column()
The column in the line containing the specified position in the document.
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 SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.