Interface StartContentUploadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartContentUploadRequest.Builder,
,StartContentUploadRequest> SdkBuilder<StartContentUploadRequest.Builder,
,StartContentUploadRequest> SdkPojo
,SdkRequest.Builder
,WisdomRequest.Builder
- Enclosing class:
StartContentUploadRequest
public static interface StartContentUploadRequest.Builder
extends WisdomRequest.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
Method Details
-
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.
-
knowledgeBaseId
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
knowledgeBaseId
- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. 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.
-
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.
-