Interface StartImportJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartImportJobRequest.Builder,StartImportJobRequest>,SdkBuilder<StartImportJobRequest.Builder,StartImportJobRequest>,SdkPojo,SdkRequest.Builder,WisdomRequest.Builder
- Enclosing class:
- StartImportJobRequest
public static interface StartImportJobRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<StartImportJobRequest.Builder,StartImportJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartImportJobRequest.BuilderclientToken(String clientToken)The tags used to organize, track, or control access for this resource.default StartImportJobRequest.BuilderexternalSourceConfiguration(Consumer<ExternalSourceConfiguration.Builder> externalSourceConfiguration)The configuration information of the external source that the resource data are imported from.StartImportJobRequest.BuilderexternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration)The configuration information of the external source that the resource data are imported from.StartImportJobRequest.BuilderimportJobType(String importJobType)The type of the import job.StartImportJobRequest.BuilderimportJobType(ImportJobType importJobType)The type of the import job.StartImportJobRequest.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.StartImportJobRequest.Buildermetadata(Map<String,String> metadata)The metadata fields of the imported Wisdom resources.StartImportJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartImportJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartImportJobRequest.BuilderuploadId(String uploadId)A pointer to the uploaded asset.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
-
-
-
Method Detail
-
clientToken
StartImportJobRequest.Builder clientToken(String clientToken)
The tags used to organize, track, or control access for this resource.
- Parameters:
clientToken- The tags used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalSourceConfiguration
StartImportJobRequest.Builder externalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration)
The configuration information of the external source that the resource data are imported from.
- Parameters:
externalSourceConfiguration- The configuration information of the external source that the resource data are imported from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalSourceConfiguration
default StartImportJobRequest.Builder externalSourceConfiguration(Consumer<ExternalSourceConfiguration.Builder> externalSourceConfiguration)
The configuration information of the external source that the resource data are imported from.
This is a convenience method that creates an instance of theExternalSourceConfiguration.Builderavoiding the need to create one manually viaExternalSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalSourceConfiguration(ExternalSourceConfiguration).- Parameters:
externalSourceConfiguration- a consumer that will call methods onExternalSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
externalSourceConfiguration(ExternalSourceConfiguration)
-
importJobType
StartImportJobRequest.Builder importJobType(String importJobType)
The type of the import job.
-
For importing quick response resource, set the value to
QUICK_RESPONSES.
- Parameters:
importJobType- The type of the import job.-
For importing quick response resource, set the value to
QUICK_RESPONSES.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportJobType,ImportJobType
-
-
importJobType
StartImportJobRequest.Builder importJobType(ImportJobType importJobType)
The type of the import job.
-
For importing quick response resource, set the value to
QUICK_RESPONSES.
- Parameters:
importJobType- The type of the import job.-
For importing quick response resource, set the value to
QUICK_RESPONSES.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportJobType,ImportJobType
-
-
knowledgeBaseId
StartImportJobRequest.Builder knowledgeBaseId(String 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.
-
For importing Wisdom quick responses, this should be a
QUICK_RESPONSEStype knowledge base.
- 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.-
For importing Wisdom quick responses, this should be a
QUICK_RESPONSEStype knowledge base.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
metadata
StartImportJobRequest.Builder metadata(Map<String,String> metadata)
The metadata fields of the imported Wisdom resources.
- Parameters:
metadata- The metadata fields of the imported Wisdom resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadId
StartImportJobRequest.Builder uploadId(String uploadId)
A pointer to the uploaded asset. This value is returned by StartContentUpload.
- Parameters:
uploadId- A pointer to the uploaded asset. This value is returned by StartContentUpload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartImportJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartImportJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-