Interface CheckDocumentAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CheckDocumentAccessResponse.Builder,
,CheckDocumentAccessResponse> QBusinessResponse.Builder
,SdkBuilder<CheckDocumentAccessResponse.Builder,
,CheckDocumentAccessResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CheckDocumentAccessResponse
-
Method Summary
Modifier and TypeMethodDescriptiondocumentAcl
(Consumer<DocumentAcl.Builder> documentAcl) The Access Control List (ACL) associated with the document.documentAcl
(DocumentAcl documentAcl) The Access Control List (ACL) associated with the document.A boolean value indicating whether the specified user has access to the document, either direct access or transitive access via groups and aliases attached to the document.userAliases
(Collection<AssociatedUser> userAliases) An array of aliases associated with the user.userAliases
(Consumer<AssociatedUser.Builder>... userAliases) An array of aliases associated with the user.userAliases
(AssociatedUser... userAliases) An array of aliases associated with the user.userGroups
(Collection<AssociatedGroup> userGroups) An array of groups the user is part of for the specified data source.userGroups
(Consumer<AssociatedGroup.Builder>... userGroups) An array of groups the user is part of for the specified data source.userGroups
(AssociatedGroup... userGroups) An array of groups the user is part of for the specified data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
userGroups
An array of groups the user is part of for the specified data source. Each group has a name and type.
- Parameters:
userGroups
- An array of groups the user is part of for the specified data source. Each group has a name and type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroups
An array of groups the user is part of for the specified data source. Each group has a name and type.
- Parameters:
userGroups
- An array of groups the user is part of for the specified data source. Each group has a name and type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroups
An array of groups the user is part of for the specified data source. Each group has a name and type.
This is a convenience method that creates an instance of theAssociatedGroup.Builder
avoiding the need to create one manually viaAssociatedGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserGroups(List<AssociatedGroup>)
.- Parameters:
userGroups
- a consumer that will call methods onAssociatedGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userAliases
An array of aliases associated with the user. This includes both global and local aliases, each with a name and type.
- Parameters:
userAliases
- An array of aliases associated with the user. This includes both global and local aliases, each with a name and type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userAliases
An array of aliases associated with the user. This includes both global and local aliases, each with a name and type.
- Parameters:
userAliases
- An array of aliases associated with the user. This includes both global and local aliases, each with a name and type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userAliases
An array of aliases associated with the user. This includes both global and local aliases, each with a name and type.
This is a convenience method that creates an instance of theAssociatedUser.Builder
avoiding the need to create one manually viaAssociatedUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserAliases(List<AssociatedUser>)
.- Parameters:
userAliases
- a consumer that will call methods onAssociatedUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hasAccess
A boolean value indicating whether the specified user has access to the document, either direct access or transitive access via groups and aliases attached to the document.
- Parameters:
hasAccess
- A boolean value indicating whether the specified user has access to the document, either direct access or transitive access via groups and aliases attached to the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentAcl
The Access Control List (ACL) associated with the document. Includes allowlist and denylist conditions that determine user access.
- Parameters:
documentAcl
- The Access Control List (ACL) associated with the document. Includes allowlist and denylist conditions that determine user access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentAcl
The Access Control List (ACL) associated with the document. Includes allowlist and denylist conditions that determine user access.
This is a convenience method that creates an instance of theDocumentAcl.Builder
avoiding the need to create one manually viaDocumentAcl.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentAcl(DocumentAcl)
.- Parameters:
documentAcl
- a consumer that will call methods onDocumentAcl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-