public static interface CreateAccessControlConfigurationRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<CreateAccessControlConfigurationRequest.Builder,CreateAccessControlConfigurationRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateAccessControlConfigurationRequest.Builder |
accessControlList(Collection<Principal> accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
CreateAccessControlConfigurationRequest.Builder |
accessControlList(Consumer<Principal.Builder>... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
CreateAccessControlConfigurationRequest.Builder |
accessControlList(Principal... accessControlList)
Information on principals (users and/or groups) and which documents they should have access to.
|
CreateAccessControlConfigurationRequest.Builder |
clientToken(String clientToken)
A token that you provide to identify the request to create an access control configuration.
|
CreateAccessControlConfigurationRequest.Builder |
description(String description)
A description for the access control configuration.
|
CreateAccessControlConfigurationRequest.Builder |
hierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists
that define the hierarchy for which documents users should have access to.
|
CreateAccessControlConfigurationRequest.Builder |
hierarchicalAccessControlList(Consumer<HierarchicalPrincipal.Builder>... hierarchicalAccessControlList)
The list of principal lists
that define the hierarchy for which documents users should have access to.
|
CreateAccessControlConfigurationRequest.Builder |
hierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)
The list of principal lists
that define the hierarchy for which documents users should have access to.
|
CreateAccessControlConfigurationRequest.Builder |
indexId(String indexId)
The identifier of the index to create an access control configuration for your documents.
|
CreateAccessControlConfigurationRequest.Builder |
name(String name)
A name for the access control configuration.
|
CreateAccessControlConfigurationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAccessControlConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateAccessControlConfigurationRequest.Builder indexId(String indexId)
The identifier of the index to create an access control configuration for your documents.
indexId - The identifier of the index to create an access control configuration for your documents.CreateAccessControlConfigurationRequest.Builder name(String name)
A name for the access control configuration.
name - A name for the access control configuration.CreateAccessControlConfigurationRequest.Builder description(String description)
A description for the access control configuration.
description - A description for the access control configuration.CreateAccessControlConfigurationRequest.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.CreateAccessControlConfigurationRequest.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.CreateAccessControlConfigurationRequest.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) CreateAccessControlConfigurationRequest.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.CreateAccessControlConfigurationRequest.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.CreateAccessControlConfigurationRequest.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) CreateAccessControlConfigurationRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to create an access control configuration. Multiple calls to
the CreateAccessControlConfiguration API with the same client token will create only one access
control configuration.
clientToken - A token that you provide to identify the request to create an access control configuration. Multiple
calls to the CreateAccessControlConfiguration API with the same client token will create
only one access control configuration.CreateAccessControlConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateAccessControlConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.