Interface GetIngestedDocumentAclResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentRuntimeResponse.Builder,Buildable,CopyableBuilder<GetIngestedDocumentAclResponse.Builder,,GetIngestedDocumentAclResponse> SdkBuilder<GetIngestedDocumentAclResponse.Builder,,GetIngestedDocumentAclResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetIngestedDocumentAclResponse
@Mutable
@NotThreadSafe
public static interface GetIngestedDocumentAclResponse.Builder
extends BedrockAgentRuntimeResponse.Builder, SdkPojo, CopyableBuilder<GetIngestedDocumentAclResponse.Builder,GetIngestedDocumentAclResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentAcl(Consumer<DocumentAcl.Builder> documentAcl) The ingested document access control list (ACL) containing allow and deny membership information.documentAcl(DocumentAcl documentAcl) The ingested document access control list (ACL) containing allow and deny membership information.Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
documentAcl
The ingested document access control list (ACL) containing allow and deny membership information.
- Parameters:
documentAcl- The ingested document access control list (ACL) containing allow and deny membership information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentAcl
default GetIngestedDocumentAclResponse.Builder documentAcl(Consumer<DocumentAcl.Builder> documentAcl) The ingested document access control list (ACL) containing allow and deny membership information.
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 onDocumentAcl.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-