Interface UpdateAccessControlConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAccessControlConfigurationRequest.Builder,UpdateAccessControlConfigurationRequest>,KendraRequest.Builder,SdkBuilder<UpdateAccessControlConfigurationRequest.Builder,UpdateAccessControlConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAccessControlConfigurationRequest
public static interface UpdateAccessControlConfigurationRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateAccessControlConfigurationRequest.Builder,UpdateAccessControlConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAccessControlConfigurationRequest.BuilderaccessControlList(Collection<Principal> accessControlList)Information you want to update on principals (users and/or groups) and which documents they should have access to.UpdateAccessControlConfigurationRequest.BuilderaccessControlList(Consumer<Principal.Builder>... accessControlList)Information you want to update on principals (users and/or groups) and which documents they should have access to.UpdateAccessControlConfigurationRequest.BuilderaccessControlList(Principal... accessControlList)Information you want to update on principals (users and/or groups) and which documents they should have access to.UpdateAccessControlConfigurationRequest.Builderdescription(String description)A new description for the access control configuration.UpdateAccessControlConfigurationRequest.BuilderhierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)The updated list of principal lists that define the hierarchy for which documents users should have access to.UpdateAccessControlConfigurationRequest.BuilderhierarchicalAccessControlList(Consumer<HierarchicalPrincipal.Builder>... hierarchicalAccessControlList)The updated list of principal lists that define the hierarchy for which documents users should have access to.UpdateAccessControlConfigurationRequest.BuilderhierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)The updated list of principal lists that define the hierarchy for which documents users should have access to.UpdateAccessControlConfigurationRequest.Builderid(String id)The identifier of the access control configuration you want to update.UpdateAccessControlConfigurationRequest.BuilderindexId(String indexId)The identifier of the index for an access control configuration.UpdateAccessControlConfigurationRequest.Buildername(String name)A new name for the access control configuration.UpdateAccessControlConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAccessControlConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
build
-
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
-
indexId
UpdateAccessControlConfigurationRequest.Builder indexId(String indexId)
The identifier of the index for an access control configuration.
- Parameters:
indexId- The identifier of the index for an access control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
UpdateAccessControlConfigurationRequest.Builder id(String id)
The identifier of the access control configuration you want to update.
- Parameters:
id- The identifier of the access control configuration you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateAccessControlConfigurationRequest.Builder name(String name)
A new name for the access control configuration.
- Parameters:
name- A new name for the access control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateAccessControlConfigurationRequest.Builder description(String description)
A new description for the access control configuration.
- Parameters:
description- A new description for the access control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlList
UpdateAccessControlConfigurationRequest.Builder accessControlList(Collection<Principal> accessControlList)
Information you want to update 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.
- Parameters:
accessControlList- Information you want to update 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlList
UpdateAccessControlConfigurationRequest.Builder accessControlList(Principal... accessControlList)
Information you want to update 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.
- Parameters:
accessControlList- Information you want to update 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlList
UpdateAccessControlConfigurationRequest.Builder accessControlList(Consumer<Principal.Builder>... accessControlList)
Information you want to update 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.Builderavoiding the need to create one manually viaPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessControlList(List.) - Parameters:
accessControlList- 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:
#accessControlList(java.util.Collection)
-
hierarchicalAccessControlList
UpdateAccessControlConfigurationRequest.Builder hierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The updated list of principal lists that define the hierarchy for which documents users should have access to.
- Parameters:
hierarchicalAccessControlList- The updated list of principal lists that define the hierarchy for which documents users should have access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchicalAccessControlList
UpdateAccessControlConfigurationRequest.Builder hierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)
The updated list of principal lists that define the hierarchy for which documents users should have access to.
- Parameters:
hierarchicalAccessControlList- The updated list of principal lists that define the hierarchy for which documents users should have access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchicalAccessControlList
UpdateAccessControlConfigurationRequest.Builder hierarchicalAccessControlList(Consumer<HierarchicalPrincipal.Builder>... hierarchicalAccessControlList)
The updated 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.Builderavoiding the need to create one manually viaHierarchicalPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hierarchicalAccessControlList(List.) - Parameters:
hierarchicalAccessControlList- a consumer that will call methods onHierarchicalPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hierarchicalAccessControlList(java.util.Collection)
-
overrideConfiguration
UpdateAccessControlConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAccessControlConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-