@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartImportJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartImportJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartImportJobRequest |
addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
StartImportJobRequest |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
StartImportJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The tags used to organize, track, or control access for this resource.
|
ExternalSourceConfiguration |
getExternalSourceConfiguration()
The configuration information of the external source that the resource data are imported from.
|
String |
getImportJobType()
The type of the import job.
|
String |
getKnowledgeBaseId()
The identifier of the knowledge base.
|
Map<String,String> |
getMetadata()
The metadata fields of the imported Wisdom resources.
|
String |
getUploadId()
A pointer to the uploaded asset.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The tags used to organize, track, or control access for this resource.
|
void |
setExternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration)
The configuration information of the external source that the resource data are imported from.
|
void |
setImportJobType(String importJobType)
The type of the import job.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
void |
setMetadata(Map<String,String> metadata)
The metadata fields of the imported Wisdom resources.
|
void |
setUploadId(String uploadId)
A pointer to the uploaded asset.
|
String |
toString()
Returns a string representation of this object.
|
StartImportJobRequest |
withClientToken(String clientToken)
The tags used to organize, track, or control access for this resource.
|
StartImportJobRequest |
withExternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration)
The configuration information of the external source that the resource data are imported from.
|
StartImportJobRequest |
withImportJobType(ImportJobType importJobType)
The type of the import job.
|
StartImportJobRequest |
withImportJobType(String importJobType)
The type of the import job.
|
StartImportJobRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
StartImportJobRequest |
withMetadata(Map<String,String> metadata)
The metadata fields of the imported Wisdom resources.
|
StartImportJobRequest |
withUploadId(String uploadId)
A pointer to the uploaded asset.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
The tags used to organize, track, or control access for this resource.
clientToken
- The tags used to organize, track, or control access for this resource.public String getClientToken()
The tags used to organize, track, or control access for this resource.
public StartImportJobRequest withClientToken(String clientToken)
The tags used to organize, track, or control access for this resource.
clientToken
- The tags used to organize, track, or control access for this resource.public void setExternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration)
The configuration information of the external source that the resource data are imported from.
externalSourceConfiguration
- The configuration information of the external source that the resource data are imported from.public ExternalSourceConfiguration getExternalSourceConfiguration()
The configuration information of the external source that the resource data are imported from.
public StartImportJobRequest withExternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration)
The configuration information of the external source that the resource data are imported from.
externalSourceConfiguration
- The configuration information of the external source that the resource data are imported from.public void setImportJobType(String importJobType)
The type of the import job.
For importing quick response resource, set the value to QUICK_RESPONSES
.
importJobType
- The type of the import job.
For importing quick response resource, set the value to QUICK_RESPONSES
.
ImportJobType
public String getImportJobType()
The type of the import job.
For importing quick response resource, set the value to QUICK_RESPONSES
.
For importing quick response resource, set the value to QUICK_RESPONSES
.
ImportJobType
public StartImportJobRequest withImportJobType(String importJobType)
The type of the import job.
For importing quick response resource, set the value to QUICK_RESPONSES
.
importJobType
- The type of the import job.
For importing quick response resource, set the value to QUICK_RESPONSES
.
ImportJobType
public StartImportJobRequest withImportJobType(ImportJobType importJobType)
The type of the import job.
For importing quick response resource, set the value to QUICK_RESPONSES
.
importJobType
- The type of the import job.
For importing quick response resource, set the value to QUICK_RESPONSES
.
ImportJobType
public void setKnowledgeBaseId(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_RESPONSES
type knowledge base.
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_RESPONSES
type knowledge base.
public String getKnowledgeBaseId()
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_RESPONSES
type knowledge base.
For importing Wisdom quick responses, this should be a QUICK_RESPONSES
type knowledge base.
public StartImportJobRequest withKnowledgeBaseId(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_RESPONSES
type knowledge base.
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_RESPONSES
type knowledge base.
public Map<String,String> getMetadata()
The metadata fields of the imported Wisdom resources.
public void setMetadata(Map<String,String> metadata)
The metadata fields of the imported Wisdom resources.
metadata
- The metadata fields of the imported Wisdom resources.public StartImportJobRequest withMetadata(Map<String,String> metadata)
The metadata fields of the imported Wisdom resources.
metadata
- The metadata fields of the imported Wisdom resources.public StartImportJobRequest addMetadataEntry(String key, String value)
public StartImportJobRequest clearMetadataEntries()
public void setUploadId(String uploadId)
A pointer to the uploaded asset. This value is returned by StartContentUpload.
uploadId
- A pointer to the uploaded asset. This value is returned by StartContentUpload.public String getUploadId()
A pointer to the uploaded asset. This value is returned by StartContentUpload.
public StartImportJobRequest withUploadId(String uploadId)
A pointer to the uploaded asset. This value is returned by StartContentUpload.
uploadId
- A pointer to the uploaded asset. This value is returned by StartContentUpload.public String toString()
toString
in class Object
Object.toString()
public StartImportJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Datenschutz | Nutzungsbedingungen für die Website | Cookie-Einstellungen | © 2025, Amazon Web Services, Inc. oder Tochtergesellschaften. Alle Rechte vorbehalten.