public static interface HierarchicalPrincipal.Builder extends SdkPojo, CopyableBuilder<HierarchicalPrincipal.Builder,HierarchicalPrincipal>
| Modifier and Type | Method and Description |
|---|---|
HierarchicalPrincipal.Builder |
principalList(Collection<Principal> principalList)
A list of principal lists that
define the hierarchy for which documents users should have access to.
|
HierarchicalPrincipal.Builder |
principalList(Consumer<Principal.Builder>... principalList)
A list of principal lists that
define the hierarchy for which documents users should have access to.
|
HierarchicalPrincipal.Builder |
principalList(Principal... principalList)
A list of principal lists that
define the hierarchy for which documents users should have access to.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHierarchicalPrincipal.Builder principalList(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.HierarchicalPrincipal.Builder principalList(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.HierarchicalPrincipal.Builder principalList(Consumer<Principal.Builder>... 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.
This is a convenience method that creates an instance of thePrincipal.Builder avoiding the need to create one
manually via Principal.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #principalList(List.
principalList - a consumer that will call methods on
Principal.Builder#principalList(java.util.Collection) Copyright © 2023. All rights reserved.