Interface ImportDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportDocumentRequest.Builder,
,ImportDocumentRequest> QAppsRequest.Builder
,SdkBuilder<ImportDocumentRequest.Builder,
,ImportDocumentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ImportDocumentRequest
@Mutable
@NotThreadSafe
public static interface ImportDocumentRequest.Builder
extends QAppsRequest.Builder, SdkPojo, CopyableBuilder<ImportDocumentRequest.Builder,ImportDocumentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Q App the file is associated with.The unique identifier of the card the file is associated with.fileContentsBase64
(String fileContentsBase64) The base64-encoded contents of the file to upload.The name of the file being uploaded.instanceId
(String instanceId) The unique identifier of the Amazon Q Business application environment instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Whether the file is associated with a Q App definition or a specific Q App session.scope
(DocumentScope scope) Whether the file is associated with a Q App definition or a specific Q App session.The unique identifier of the Q App session the file is associated with, if applicable.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qapps.model.QAppsRequest.Builder
build
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
-
instanceId
The unique identifier of the Amazon Q Business application environment instance.
- Parameters:
instanceId
- The unique identifier of the Amazon Q Business application environment instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cardId
The unique identifier of the card the file is associated with.
- Parameters:
cardId
- The unique identifier of the card the file is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appId
The unique identifier of the Q App the file is associated with.
- Parameters:
appId
- The unique identifier of the Q App the file is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileContentsBase64
The base64-encoded contents of the file to upload.
- Parameters:
fileContentsBase64
- The base64-encoded contents of the file to upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileName
The name of the file being uploaded.
- Parameters:
fileName
- The name of the file being uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
Whether the file is associated with a Q App definition or a specific Q App session.
- Parameters:
scope
- Whether the file is associated with a Q App definition or a specific Q App session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
Whether the file is associated with a Q App definition or a specific Q App session.
- Parameters:
scope
- Whether the file is associated with a Q App definition or a specific Q App session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionId
The unique identifier of the Q App session the file is associated with, if applicable.
- Parameters:
sessionId
- The unique identifier of the Q App session the file is associated with, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-