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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
userGroupsAn 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.
 
- 
userGroupsAn 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.
 
- 
userGroupsAn 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.Builderavoiding the need to create one manually viaAssociatedGroup.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserGroups(List<AssociatedGroup>).- Parameters:
- userGroups- a consumer that will call methods on- AssociatedGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
userAliasesAn 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.
 
- 
userAliasesAn 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.
 
- 
userAliasesAn 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.Builderavoiding the need to create one manually viaAssociatedUser.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserAliases(List<AssociatedUser>).- Parameters:
- userAliases- a consumer that will call methods on- AssociatedUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
hasAccessA 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.
 
- 
documentAclThe 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.
 
- 
documentAclThe 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.Builderavoiding the need to create one manually viaDocumentAcl.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentAcl(DocumentAcl).- Parameters:
- documentAcl- a consumer that will call methods on- DocumentAcl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-