Class Position
- java.lang.Object
-
- software.amazon.awssdk.services.accessanalyzer.model.Position
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Position.Builder,Position>
@Generated("software.amazon.awssdk:codegen") public final class Position extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Position.Builder,Position>
A position in a policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePosition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Position.Builderbuilder()Integercolumn()The column of the position, starting from 0.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerline()The line of the position, starting from 1.Integeroffset()The offset within the policy that corresponds to the position, starting from 0.List<SdkField<?>>sdkFields()static Class<? extends Position.Builder>serializableBuilderClass()Position.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
line
public final Integer line()
The line of the position, starting from 1.
- Returns:
- The line of the position, starting from 1.
-
column
public final Integer column()
The column of the position, starting from 0.
- Returns:
- The column of the position, starting from 0.
-
offset
public final Integer offset()
The offset within the policy that corresponds to the position, starting from 0.
- Returns:
- The offset within the policy that corresponds to the position, starting from 0.
-
toBuilder
public Position.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Position.Builder,Position>
-
builder
public static Position.Builder builder()
-
serializableBuilderClass
public static Class<? extends Position.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-