Interface HierarchicalPrincipal.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HierarchicalPrincipal.Builder,HierarchicalPrincipal>,SdkBuilder<HierarchicalPrincipal.Builder,HierarchicalPrincipal>,SdkPojo
- Enclosing class:
- HierarchicalPrincipal
public static interface HierarchicalPrincipal.Builder extends SdkPojo, CopyableBuilder<HierarchicalPrincipal.Builder,HierarchicalPrincipal>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HierarchicalPrincipal.BuilderprincipalList(Collection<Principal> principalList)A list of principal lists that define the hierarchy for which documents users should have access to.HierarchicalPrincipal.BuilderprincipalList(Consumer<Principal.Builder>... principalList)A list of principal lists that define the hierarchy for which documents users should have access to.HierarchicalPrincipal.BuilderprincipalList(Principal... principalList)A list of principal lists that define the hierarchy for which documents users should have access to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
principalList
HierarchicalPrincipal.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalList
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalList
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.Builderavoiding the need to create one manually viaPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#principalList(List.) - Parameters:
principalList- a consumer that will call methods onPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#principalList(java.util.Collection)
-
-