@Generated(value="software.amazon.awssdk:codegen") public class PolicyToPath extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
path()
The path that is referenced from the root.
|
List<PolicyAttachment> |
policies()
List of policy objects.
|
static Class<? extends PolicyToPath.Builder> |
serializableBuilderClass() |
PolicyToPath.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String path()
The path that is referenced from the root.
public List<PolicyAttachment> policies()
List of policy objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public PolicyToPath.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PolicyToPath.Builder,PolicyToPath>public static PolicyToPath.Builder builder()
public static Class<? extends PolicyToPath.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.