@Generated(value="software.amazon.awssdk:codegen") public final class Position extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
line()
The line containing the specified position in the document.
|
static Class<? extends Position.Builder> |
serializableBuilderClass() |
Position.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer line()
The line containing the specified position in the document.
public Integer column()
The column in the line containing the specified position in the document.
public Position.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Position.Builder,Position>
public static Position.Builder builder()
public static Class<? extends Position.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.