@Generated(value="software.amazon.awssdk:codegen") public final class PathElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PathElement.Builder,PathElement>
A single element in a path through the JSON representation of a policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PathElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PathElement.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
index()
Refers to an index in a JSON array.
|
String |
key()
Refers to a key in a JSON object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PathElement.Builder> |
serializableBuilderClass() |
Substring |
substring()
Refers to a substring of a literal string in a JSON object.
|
PathElement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
Refers to the value associated with a given key in a JSON object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer index()
Refers to an index in a JSON array.
public final String key()
Refers to a key in a JSON object.
public final Substring substring()
Refers to a substring of a literal string in a JSON object.
public final String value()
Refers to the value associated with a given key in a JSON object.
public PathElement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PathElement.Builder,PathElement>public static PathElement.Builder builder()
public static Class<? extends PathElement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.