Interface DescribeAccessControlConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAccessControlConfigurationResponse.Builder,DescribeAccessControlConfigurationResponse>,KendraResponse.Builder,SdkBuilder<DescribeAccessControlConfigurationResponse.Builder,DescribeAccessControlConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAccessControlConfigurationResponse
public static interface DescribeAccessControlConfigurationResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeAccessControlConfigurationResponse.Builder,DescribeAccessControlConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAccessControlConfigurationResponse.BuilderaccessControlList(Collection<Principal> accessControlList)Information on principals (users and/or groups) and which documents they should have access to.DescribeAccessControlConfigurationResponse.BuilderaccessControlList(Consumer<Principal.Builder>... accessControlList)Information on principals (users and/or groups) and which documents they should have access to.DescribeAccessControlConfigurationResponse.BuilderaccessControlList(Principal... accessControlList)Information on principals (users and/or groups) and which documents they should have access to.DescribeAccessControlConfigurationResponse.Builderdescription(String description)The description for the access control configuration.DescribeAccessControlConfigurationResponse.BuildererrorMessage(String errorMessage)The error message containing details if there are issues processing the access control configuration.DescribeAccessControlConfigurationResponse.BuilderhierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)The list of principal lists that define the hierarchy for which documents users should have access to.DescribeAccessControlConfigurationResponse.BuilderhierarchicalAccessControlList(Consumer<HierarchicalPrincipal.Builder>... hierarchicalAccessControlList)The list of principal lists that define the hierarchy for which documents users should have access to.DescribeAccessControlConfigurationResponse.BuilderhierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)The list of principal lists that define the hierarchy for which documents users should have access to.DescribeAccessControlConfigurationResponse.Buildername(String name)The name for the access control configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
DescribeAccessControlConfigurationResponse.Builder name(String name)
The name for the access control configuration.
- Parameters:
name- The name for the access control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeAccessControlConfigurationResponse.Builder description(String description)
The description for the access control configuration.
- Parameters:
description- The description for the access control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
DescribeAccessControlConfigurationResponse.Builder errorMessage(String errorMessage)
The error message containing details if there are issues processing the access control configuration.
- Parameters:
errorMessage- The error message containing details if there are issues processing the access control configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlList
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlList
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlList
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.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
DescribeAccessControlConfigurationResponse.Builder hierarchicalAccessControlList(Collection<HierarchicalPrincipal> hierarchicalAccessControlList)
The list of principal lists that define the hierarchy for which documents users should have access to.
- Parameters:
hierarchicalAccessControlList- The 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
DescribeAccessControlConfigurationResponse.Builder hierarchicalAccessControlList(HierarchicalPrincipal... hierarchicalAccessControlList)
The list of principal lists that define the hierarchy for which documents users should have access to.
- Parameters:
hierarchicalAccessControlList- The 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
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.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)
-
-