@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportJobData extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about the import job.
Constructor and Description |
---|
ImportJobData() |
Modifier and Type | Method and Description |
---|---|
ImportJobData |
addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
ImportJobData |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
ImportJobData |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTime()
The timestamp when the import job was created.
|
ExternalSourceConfiguration |
getExternalSourceConfiguration() |
String |
getFailedRecordReport()
The link to donwload the information of resource data that failed to be imported.
|
String |
getImportJobId()
The identifier of the import job.
|
String |
getImportJobType()
The type of the import job.
|
String |
getKnowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
|
String |
getKnowledgeBaseId()
The identifier of the knowledge base.
|
Date |
getLastModifiedTime()
The timestamp when the import job data was last modified.
|
Map<String,String> |
getMetadata()
The metadata fields of the imported Wisdom resources.
|
String |
getStatus()
The status of the import job.
|
String |
getUploadId()
A pointer to the uploaded asset.
|
String |
getUrl()
The download link to the resource file that is uploaded to the import job.
|
Date |
getUrlExpiry()
The expiration time of the URL as an epoch timestamp.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTime(Date createdTime)
The timestamp when the import job was created.
|
void |
setExternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration) |
void |
setFailedRecordReport(String failedRecordReport)
The link to donwload the information of resource data that failed to be imported.
|
void |
setImportJobId(String importJobId)
The identifier of the import job.
|
void |
setImportJobType(String importJobType)
The type of the import job.
|
void |
setKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when the import job data was last modified.
|
void |
setMetadata(Map<String,String> metadata)
The metadata fields of the imported Wisdom resources.
|
void |
setStatus(String status)
The status of the import job.
|
void |
setUploadId(String uploadId)
A pointer to the uploaded asset.
|
void |
setUrl(String url)
The download link to the resource file that is uploaded to the import job.
|
void |
setUrlExpiry(Date urlExpiry)
The expiration time of the URL as an epoch timestamp.
|
String |
toString()
Returns a string representation of this object.
|
ImportJobData |
withCreatedTime(Date createdTime)
The timestamp when the import job was created.
|
ImportJobData |
withExternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration) |
ImportJobData |
withFailedRecordReport(String failedRecordReport)
The link to donwload the information of resource data that failed to be imported.
|
ImportJobData |
withImportJobId(String importJobId)
The identifier of the import job.
|
ImportJobData |
withImportJobType(ImportJobType importJobType)
The type of the import job.
|
ImportJobData |
withImportJobType(String importJobType)
The type of the import job.
|
ImportJobData |
withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
|
ImportJobData |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
ImportJobData |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the import job data was last modified.
|
ImportJobData |
withMetadata(Map<String,String> metadata)
The metadata fields of the imported Wisdom resources.
|
ImportJobData |
withStatus(ImportJobStatus status)
The status of the import job.
|
ImportJobData |
withStatus(String status)
The status of the import job.
|
ImportJobData |
withUploadId(String uploadId)
A pointer to the uploaded asset.
|
ImportJobData |
withUrl(String url)
The download link to the resource file that is uploaded to the import job.
|
ImportJobData |
withUrlExpiry(Date urlExpiry)
The expiration time of the URL as an epoch timestamp.
|
public void setCreatedTime(Date createdTime)
The timestamp when the import job was created.
createdTime
- The timestamp when the import job was created.public Date getCreatedTime()
The timestamp when the import job was created.
public ImportJobData withCreatedTime(Date createdTime)
The timestamp when the import job was created.
createdTime
- The timestamp when the import job was created.public void setExternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration)
externalSourceConfiguration
- public ExternalSourceConfiguration getExternalSourceConfiguration()
public ImportJobData withExternalSourceConfiguration(ExternalSourceConfiguration externalSourceConfiguration)
externalSourceConfiguration
- public void setFailedRecordReport(String failedRecordReport)
The link to donwload the information of resource data that failed to be imported.
failedRecordReport
- The link to donwload the information of resource data that failed to be imported.public String getFailedRecordReport()
The link to donwload the information of resource data that failed to be imported.
public ImportJobData withFailedRecordReport(String failedRecordReport)
The link to donwload the information of resource data that failed to be imported.
failedRecordReport
- The link to donwload the information of resource data that failed to be imported.public void setImportJobId(String importJobId)
The identifier of the import job.
importJobId
- The identifier of the import job.public String getImportJobId()
The identifier of the import job.
public ImportJobData withImportJobId(String importJobId)
The identifier of the import job.
importJobId
- The identifier of the import job.public void setImportJobType(String importJobType)
The type of the import job.
importJobType
- The type of the import job.ImportJobType
public String getImportJobType()
The type of the import job.
ImportJobType
public ImportJobData withImportJobType(String importJobType)
The type of the import job.
importJobType
- The type of the import job.ImportJobType
public ImportJobData withImportJobType(ImportJobType importJobType)
The type of the import job.
importJobType
- The type of the import job.ImportJobType
public void setKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseArn
- The Amazon Resource Name (ARN) of the knowledge base.public String getKnowledgeBaseArn()
The Amazon Resource Name (ARN) of the knowledge base.
public ImportJobData withKnowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseArn
- The Amazon Resource Name (ARN) of the knowledge base.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.
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.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.
public ImportJobData 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.
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.public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when the import job data was last modified.
lastModifiedTime
- The timestamp when the import job data was last modified.public Date getLastModifiedTime()
The timestamp when the import job data was last modified.
public ImportJobData withLastModifiedTime(Date lastModifiedTime)
The timestamp when the import job data was last modified.
lastModifiedTime
- The timestamp when the import job data was last modified.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 ImportJobData withMetadata(Map<String,String> metadata)
The metadata fields of the imported Wisdom resources.
metadata
- The metadata fields of the imported Wisdom resources.public ImportJobData addMetadataEntry(String key, String value)
public ImportJobData clearMetadataEntries()
public void setStatus(String status)
The status of the import job.
status
- The status of the import job.ImportJobStatus
public String getStatus()
The status of the import job.
ImportJobStatus
public ImportJobData withStatus(String status)
The status of the import job.
status
- The status of the import job.ImportJobStatus
public ImportJobData withStatus(ImportJobStatus status)
The status of the import job.
status
- The status of the import job.ImportJobStatus
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 ImportJobData 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 void setUrl(String url)
The download link to the resource file that is uploaded to the import job.
url
- The download link to the resource file that is uploaded to the import job.public String getUrl()
The download link to the resource file that is uploaded to the import job.
public ImportJobData withUrl(String url)
The download link to the resource file that is uploaded to the import job.
url
- The download link to the resource file that is uploaded to the import job.public void setUrlExpiry(Date urlExpiry)
The expiration time of the URL as an epoch timestamp.
urlExpiry
- The expiration time of the URL as an epoch timestamp.public Date getUrlExpiry()
The expiration time of the URL as an epoch timestamp.
public ImportJobData withUrlExpiry(Date urlExpiry)
The expiration time of the URL as an epoch timestamp.
urlExpiry
- The expiration time of the URL as an epoch timestamp.public String toString()
toString
in class Object
Object.toString()
public ImportJobData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.