Interface DocumentAcl.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DocumentAcl.Builder,,- DocumentAcl> - SdkBuilder<DocumentAcl.Builder,,- DocumentAcl> - SdkPojo
- Enclosing class:
- DocumentAcl
- 
Method SummaryModifier and TypeMethodDescriptiondefault DocumentAcl.Builderallowlist(Consumer<DocumentAclMembership.Builder> allowlist) The allowlist conditions for the document.allowlist(DocumentAclMembership allowlist) The allowlist conditions for the document.default DocumentAcl.BuilderdenyList(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
allowlistThe 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.
 
- 
allowlistThe 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.Builderavoiding the need to create one manually viaDocumentAclMembership.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallowlist(DocumentAclMembership).- Parameters:
- allowlist- a consumer that will call methods on- DocumentAclMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
denyListThe 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.
 
- 
denyListThe 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.Builderavoiding the need to create one manually viaDocumentAclMembership.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todenyList(DocumentAclMembership).- Parameters:
- denyList- a consumer that will call methods on- DocumentAclMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-