@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HierarchicalPrincipal extends Object implements Serializable, Cloneable, StructuredPojo
Information to define the hierarchy for which documents users should have access to.
Constructor and Description |
---|
HierarchicalPrincipal() |
Modifier and Type | Method and Description |
---|---|
HierarchicalPrincipal |
clone() |
boolean |
equals(Object obj) |
List<Principal> |
getPrincipalList()
A list of principal lists that
define the hierarchy for which documents users should have access to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPrincipalList(Collection<Principal> principalList)
A list of principal lists that
define the hierarchy for which documents users should have access to.
|
String |
toString()
Returns a string representation of this object.
|
HierarchicalPrincipal |
withPrincipalList(Collection<Principal> principalList)
A list of principal lists that
define the hierarchy for which documents users should have access to.
|
HierarchicalPrincipal |
withPrincipalList(Principal... principalList)
A list of principal lists that
define the hierarchy for which documents users should have access to.
|
public List<Principal> getPrincipalList()
A list of principal lists that define the hierarchy for which documents users should have access to. Each hierarchical list specifies which user or group has allow or deny access for each document.
public void setPrincipalList(Collection<Principal> principalList)
A list of principal lists that define the hierarchy for which documents users should have access to. Each hierarchical list specifies which user or group has allow or deny access for each document.
principalList
- A list of principal lists
that define the hierarchy for which documents users should have access to. Each hierarchical list
specifies which user or group has allow or deny access for each document.public HierarchicalPrincipal withPrincipalList(Principal... principalList)
A list of principal lists that define the hierarchy for which documents users should have access to. Each hierarchical list specifies which user or group has allow or deny access for each document.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipalList(java.util.Collection)
or withPrincipalList(java.util.Collection)
if you want
to override the existing values.
principalList
- A list of principal lists
that define the hierarchy for which documents users should have access to. Each hierarchical list
specifies which user or group has allow or deny access for each document.public HierarchicalPrincipal withPrincipalList(Collection<Principal> principalList)
A list of principal lists that define the hierarchy for which documents users should have access to. Each hierarchical list specifies which user or group has allow or deny access for each document.
principalList
- A list of principal lists
that define the hierarchy for which documents users should have access to. Each hierarchical list
specifies which user or group has allow or deny access for each document.public String toString()
toString
in class Object
Object.toString()
public HierarchicalPrincipal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.