Interface DocumentAcl.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentAcl.Builder,
,DocumentAcl> SdkBuilder<DocumentAcl.Builder,
,DocumentAcl> SdkPojo
- Enclosing class:
DocumentAcl
-
Method Summary
Modifier and TypeMethodDescriptiondefault DocumentAcl.Builder
allowlist
(Consumer<DocumentAclMembership.Builder> allowlist) The allowlist conditions for the document.allowlist
(DocumentAclMembership allowlist) The allowlist conditions for the document.default DocumentAcl.Builder
denyList
(Consumer<DocumentAclMembership.Builder> denyList) The denylist conditions for the document.denyList
(DocumentAclMembership denyList) The denylist conditions for the document.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
allowlist
The allowlist conditions for the document. Users or groups matching these conditions are granted access to the document.
- Parameters:
allowlist
- The allowlist conditions for the document. Users or groups matching these conditions are granted access to the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowlist
The allowlist conditions for the document. Users or groups matching these conditions are granted access to the document.
This is a convenience method that creates an instance of theDocumentAclMembership.Builder
avoiding the need to create one manually viaDocumentAclMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toallowlist(DocumentAclMembership)
.- Parameters:
allowlist
- a consumer that will call methods onDocumentAclMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
denyList
The denylist conditions for the document. Users or groups matching these conditions are denied access to the document, overriding allowlist permissions.
- Parameters:
denyList
- The denylist conditions for the document. Users or groups matching these conditions are denied access to the document, overriding allowlist permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
denyList
The denylist conditions for the document. Users or groups matching these conditions are denied access to the document, overriding allowlist permissions.
This is a convenience method that creates an instance of theDocumentAclMembership.Builder
avoiding the need to create one manually viaDocumentAclMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todenyList(DocumentAclMembership)
.- Parameters:
denyList
- a consumer that will call methods onDocumentAclMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-