Interface ImportDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportDocumentRequest.Builder,,ImportDocumentRequest> QAppsRequest.Builder,SdkBuilder<ImportDocumentRequest.Builder,,ImportDocumentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ImportDocumentRequest
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, if applicable.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 an Q App definition or a specific Q App session.scope(DocumentScope scope) Whether the file is associated with an 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qapps.model.QAppsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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, if applicable.
- Parameters:
cardId- The unique identifier of the card the file is associated with, if applicable.- 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 an Q App definition or a specific Q App session.
- Parameters:
scope- Whether the file is associated with an 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 an Q App definition or a specific Q App session.
- Parameters:
scope- Whether the file is associated with an 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-