@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartImportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
StartImportResult() |
| Modifier and Type | Method and Description |
|---|---|
StartImportResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
A timestamp for the date and time that the import job was requested.
|
String |
getImportId()
The identifier for the specific import job.
|
String |
getImportStatus()
The status of the import job.
|
String |
getMergeStrategy()
The action to take when there is a merge conflict.
|
String |
getName()
The name given to the import job.
|
String |
getResourceType()
The type of resource to import.
|
List<Tag> |
getTags()
A list of tags added to the imported bot.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
A timestamp for the date and time that the import job was requested.
|
void |
setImportId(String importId)
The identifier for the specific import job.
|
void |
setImportStatus(String importStatus)
The status of the import job.
|
void |
setMergeStrategy(String mergeStrategy)
The action to take when there is a merge conflict.
|
void |
setName(String name)
The name given to the import job.
|
void |
setResourceType(String resourceType)
The type of resource to import.
|
void |
setTags(Collection<Tag> tags)
A list of tags added to the imported bot.
|
String |
toString()
Returns a string representation of this object.
|
StartImportResult |
withCreatedDate(Date createdDate)
A timestamp for the date and time that the import job was requested.
|
StartImportResult |
withImportId(String importId)
The identifier for the specific import job.
|
StartImportResult |
withImportStatus(ImportStatus importStatus)
The status of the import job.
|
StartImportResult |
withImportStatus(String importStatus)
The status of the import job.
|
StartImportResult |
withMergeStrategy(MergeStrategy mergeStrategy)
The action to take when there is a merge conflict.
|
StartImportResult |
withMergeStrategy(String mergeStrategy)
The action to take when there is a merge conflict.
|
StartImportResult |
withName(String name)
The name given to the import job.
|
StartImportResult |
withResourceType(ResourceType resourceType)
The type of resource to import.
|
StartImportResult |
withResourceType(String resourceType)
The type of resource to import.
|
StartImportResult |
withTags(Collection<Tag> tags)
A list of tags added to the imported bot.
|
StartImportResult |
withTags(Tag... tags)
A list of tags added to the imported bot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setName(String name)
The name given to the import job.
name - The name given to the import job.public String getName()
The name given to the import job.
public StartImportResult withName(String name)
The name given to the import job.
name - The name given to the import job.public void setResourceType(String resourceType)
The type of resource to import.
resourceType - The type of resource to import.ResourceTypepublic String getResourceType()
The type of resource to import.
ResourceTypepublic StartImportResult withResourceType(String resourceType)
The type of resource to import.
resourceType - The type of resource to import.ResourceTypepublic StartImportResult withResourceType(ResourceType resourceType)
The type of resource to import.
resourceType - The type of resource to import.ResourceTypepublic void setMergeStrategy(String mergeStrategy)
The action to take when there is a merge conflict.
mergeStrategy - The action to take when there is a merge conflict.MergeStrategypublic String getMergeStrategy()
The action to take when there is a merge conflict.
MergeStrategypublic StartImportResult withMergeStrategy(String mergeStrategy)
The action to take when there is a merge conflict.
mergeStrategy - The action to take when there is a merge conflict.MergeStrategypublic StartImportResult withMergeStrategy(MergeStrategy mergeStrategy)
The action to take when there is a merge conflict.
mergeStrategy - The action to take when there is a merge conflict.MergeStrategypublic void setImportId(String importId)
The identifier for the specific import job.
importId - The identifier for the specific import job.public String getImportId()
The identifier for the specific import job.
public StartImportResult withImportId(String importId)
The identifier for the specific import job.
importId - The identifier for the specific import job.public void setImportStatus(String importStatus)
The status of the import job. If the status is FAILED, you can get the reason for the failure using
the GetImport operation.
importStatus - The status of the import job. If the status is FAILED, you can get the reason for the failure
using the GetImport operation.ImportStatuspublic String getImportStatus()
The status of the import job. If the status is FAILED, you can get the reason for the failure using
the GetImport operation.
FAILED, you can get the reason for the
failure using the GetImport operation.ImportStatuspublic StartImportResult withImportStatus(String importStatus)
The status of the import job. If the status is FAILED, you can get the reason for the failure using
the GetImport operation.
importStatus - The status of the import job. If the status is FAILED, you can get the reason for the failure
using the GetImport operation.ImportStatuspublic StartImportResult withImportStatus(ImportStatus importStatus)
The status of the import job. If the status is FAILED, you can get the reason for the failure using
the GetImport operation.
importStatus - The status of the import job. If the status is FAILED, you can get the reason for the failure
using the GetImport operation.ImportStatuspublic List<Tag> getTags()
A list of tags added to the imported bot.
public void setTags(Collection<Tag> tags)
A list of tags added to the imported bot.
tags - A list of tags added to the imported bot.public StartImportResult withTags(Tag... tags)
A list of tags added to the imported bot.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - A list of tags added to the imported bot.public StartImportResult withTags(Collection<Tag> tags)
A list of tags added to the imported bot.
tags - A list of tags added to the imported bot.public void setCreatedDate(Date createdDate)
A timestamp for the date and time that the import job was requested.
createdDate - A timestamp for the date and time that the import job was requested.public Date getCreatedDate()
A timestamp for the date and time that the import job was requested.
public StartImportResult withCreatedDate(Date createdDate)
A timestamp for the date and time that the import job was requested.
createdDate - A timestamp for the date and time that the import job was requested.public String toString()
toString in class ObjectObject.toString()public StartImportResult clone()