@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyToPath extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
PolicyToPath() |
Modifier and Type | Method and Description |
---|---|
PolicyToPath |
clone() |
boolean |
equals(Object obj) |
String |
getPath()
The path that is referenced from the root.
|
List<PolicyAttachment> |
getPolicies()
List of policy objects.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPath(String path)
The path that is referenced from the root.
|
void |
setPolicies(Collection<PolicyAttachment> policies)
List of policy objects.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyToPath |
withPath(String path)
The path that is referenced from the root.
|
PolicyToPath |
withPolicies(Collection<PolicyAttachment> policies)
List of policy objects.
|
PolicyToPath |
withPolicies(PolicyAttachment... policies)
List of policy objects.
|
public void setPath(String path)
The path that is referenced from the root.
path
- The path that is referenced from the root.public String getPath()
The path that is referenced from the root.
public PolicyToPath withPath(String path)
The path that is referenced from the root.
path
- The path that is referenced from the root.public List<PolicyAttachment> getPolicies()
List of policy objects.
public void setPolicies(Collection<PolicyAttachment> policies)
List of policy objects.
policies
- List of policy objects.public PolicyToPath withPolicies(PolicyAttachment... policies)
List of policy objects.
NOTE: This method appends the values to the existing list (if any). Use
setPolicies(java.util.Collection)
or withPolicies(java.util.Collection)
if you want to override
the existing values.
policies
- List of policy objects.public PolicyToPath withPolicies(Collection<PolicyAttachment> policies)
List of policy objects.
policies
- List of policy objects.public String toString()
toString
in class Object
Object.toString()
public PolicyToPath clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.