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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-