Interface StartContentUploadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartContentUploadRequest.Builder,
,StartContentUploadRequest> QConnectRequest.Builder
,SdkBuilder<StartContentUploadRequest.Builder,
,StartContentUploadRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartContentUploadRequest
@Mutable
@NotThreadSafe
public static interface StartContentUploadRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<StartContentUploadRequest.Builder,StartContentUploadRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncontentType
(String contentType) The type of content to upload.knowledgeBaseId
(String knowledgeBaseId) The identifier of the knowledge base.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.presignedUrlTimeToLive
(Integer presignedUrlTimeToLive) The expected expiration time of the generated presigned URL, specified in minutes.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.qconnect.model.QConnectRequest.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
-
knowledgeBaseId
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
knowledgeBaseId
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The type of content to upload.
- Parameters:
contentType
- The type of content to upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
presignedUrlTimeToLive
The expected expiration time of the generated presigned URL, specified in minutes.
- Parameters:
presignedUrlTimeToLive
- The expected expiration time of the generated presigned URL, specified in minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartContentUploadRequest.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
StartContentUploadRequest.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.
-