public static interface DescribeAccessControlConfigurationResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccessControlConfigurationResponse.Builder,DescribeAccessControlConfigurationResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeAccessControlConfigurationResponse.Builder |
accessControlList(Collection<Principal> accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
DescribeAccessControlConfigurationResponse.Builder |
accessControlList(Consumer<Principal.Builder>... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
DescribeAccessControlConfigurationResponse.Builder |
accessControlList(Principal... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
DescribeAccessControlConfigurationResponse.Builder |
description(String description)
The description for the access control configuration.
|
DescribeAccessControlConfigurationResponse.Builder |
errorMessage(String errorMessage)
The error message containing details if there are issues processing the access control configuration.
|
DescribeAccessControlConfigurationResponse.Builder |
hierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists
that define the hierarchy for which documents users should have access to.
|
DescribeAccessControlConfigurationResponse.Builder |
hierarchicalAccessControlList(Consumer<HierarchicalPrincipal.Builder>... hierarchicalAccessControlList)
The list of principal lists
that define the hierarchy for which documents users should have access to.
|
DescribeAccessControlConfigurationResponse.Builder |
hierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)
The list of principal lists
that define the hierarchy for which documents users should have access to.
|
DescribeAccessControlConfigurationResponse.Builder |
name(String name)
The name for the access control configuration.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeAccessControlConfigurationResponse.Builder name(String name)
The name for the access control configuration.
name - The name for the access control configuration.DescribeAccessControlConfigurationResponse.Builder description(String description)
The description for the access control configuration.
description - The description for the access control configuration.DescribeAccessControlConfigurationResponse.Builder errorMessage(String errorMessage)
The error message containing details if there are issues processing the access control configuration.
errorMessage - The error message containing details if there are issues processing the access control configuration.DescribeAccessControlConfigurationResponse.Builder accessControlList(Collection<Principal> accessControlList)
Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
accessControlList - Information on principals (users and/or groups) and which documents they should have access to. This
is useful for user context filtering, where search results are filtered based on the user or their
group access to documents.DescribeAccessControlConfigurationResponse.Builder accessControlList(Principal... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
accessControlList - Information on principals (users and/or groups) and which documents they should have access to. This
is useful for user context filtering, where search results are filtered based on the user or their
group access to documents.DescribeAccessControlConfigurationResponse.Builder accessControlList(Consumer<Principal.Builder>... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
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 #accessControlList(List.
accessControlList - a consumer that will call methods on
Principal.Builder#accessControlList(java.util.Collection) DescribeAccessControlConfigurationResponse.Builder hierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists that define the hierarchy for which documents users should have access to.
hierarchicalAccessControlList - The list of principal
lists that define the hierarchy for which documents users should have access to.DescribeAccessControlConfigurationResponse.Builder hierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)
The list of principal lists that define the hierarchy for which documents users should have access to.
hierarchicalAccessControlList - The list of principal
lists that define the hierarchy for which documents users should have access to.DescribeAccessControlConfigurationResponse.Builder hierarchicalAccessControlList(Consumer<HierarchicalPrincipal.Builder>... hierarchicalAccessControlList)
The list of principal lists that define the hierarchy for which documents users should have access to.
This is a convenience method that creates an instance of theHierarchicalPrincipal.Builder avoiding the need to
create one manually via HierarchicalPrincipal.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #hierarchicalAccessControlList(List.
hierarchicalAccessControlList - a consumer that will call methods on
HierarchicalPrincipal.Builder#hierarchicalAccessControlList(java.util.Collection) Copyright © 2023. All rights reserved.