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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportDocumentRequest.BuilderappId(String appId)The unique identifier of the Q App the file is associated with.ImportDocumentRequest.BuildercardId(String cardId)The unique identifier of the card the file is associated with, if applicable.ImportDocumentRequest.BuilderfileContentsBase64(String fileContentsBase64)The base64-encoded contents of the file to upload.ImportDocumentRequest.BuilderfileName(String fileName)The name of the file being uploaded.ImportDocumentRequest.BuilderinstanceId(String instanceId)The unique identifier of the Amazon Q Business application environment instance.ImportDocumentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportDocumentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportDocumentRequest.Builderscope(String scope)Whether the file is associated with an Q App definition or a specific Q App session.ImportDocumentRequest.Builderscope(DocumentScope scope)Whether the file is associated with an Q App definition or a specific Q App session.ImportDocumentRequest.BuildersessionId(String sessionId)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, sdkFields
-
-
-
-
Method Detail
-
instanceId
ImportDocumentRequest.Builder instanceId(String 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
ImportDocumentRequest.Builder cardId(String 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
ImportDocumentRequest.Builder appId(String 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
ImportDocumentRequest.Builder fileContentsBase64(String 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
ImportDocumentRequest.Builder fileName(String 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
ImportDocumentRequest.Builder scope(String 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:
DocumentScope,DocumentScope
-
scope
ImportDocumentRequest.Builder scope(DocumentScope 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:
DocumentScope,DocumentScope
-
sessionId
ImportDocumentRequest.Builder sessionId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-