@Generated(value="software.amazon.awssdk:codegen") public final class PolicyToPath extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyToPath.Builder,PolicyToPath>
Used when a regular object exists in a Directory and you want to find all of the policies that are associated with that object and the parent to that object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicyToPath.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PolicyToPath.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPolicies()
Returns true if the Policies property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
path()
The path that is referenced from the root.
|
List<PolicyAttachment> |
policies()
List of policy objects.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyToPath.Builder> |
serializableBuilderClass() |
PolicyToPath.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String path()
The path that is referenced from the root.
public final boolean hasPolicies()
public final List<PolicyAttachment> policies()
List of policy objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPolicies() to see if a value was sent in this field.
public PolicyToPath.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PolicyToPath.Builder,PolicyToPath>public static PolicyToPath.Builder builder()
public static Class<? extends PolicyToPath.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.