@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 |
getCreationDateTime()
The date and time that the import request was created.
|
String |
getImportId()
A unique identifier for the import.
|
String |
getImportStatus()
The current status of the import.
|
String |
getMergeStrategy()
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
ImportResourceSpecification |
getResourceSpecification()
The parameters used when importing the resource.
|
int |
hashCode() |
void |
setCreationDateTime(Date creationDateTime)
The date and time that the import request was created.
|
void |
setImportId(String importId)
A unique identifier for the import.
|
void |
setImportStatus(String importStatus)
The current status of the import.
|
void |
setMergeStrategy(String mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
void |
setResourceSpecification(ImportResourceSpecification resourceSpecification)
The parameters used when importing the resource.
|
String |
toString()
Returns a string representation of this object.
|
StartImportResult |
withCreationDateTime(Date creationDateTime)
The date and time that the import request was created.
|
StartImportResult |
withImportId(String importId)
A unique identifier for the import.
|
StartImportResult |
withImportStatus(ImportStatus importStatus)
The current status of the import.
|
StartImportResult |
withImportStatus(String importStatus)
The current status of the import.
|
StartImportResult |
withMergeStrategy(MergeStrategy mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
StartImportResult |
withMergeStrategy(String mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
StartImportResult |
withResourceSpecification(ImportResourceSpecification resourceSpecification)
The parameters used when importing the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setImportId(String importId)
A unique identifier for the import.
importId
- A unique identifier for the import.public String getImportId()
A unique identifier for the import.
public StartImportResult withImportId(String importId)
A unique identifier for the import.
importId
- A unique identifier for the import.public void setResourceSpecification(ImportResourceSpecification resourceSpecification)
The parameters used when importing the resource.
resourceSpecification
- The parameters used when importing the resource.public ImportResourceSpecification getResourceSpecification()
The parameters used when importing the resource.
public StartImportResult withResourceSpecification(ImportResourceSpecification resourceSpecification)
The parameters used when importing the resource.
resourceSpecification
- The parameters used when importing the resource.public void setMergeStrategy(String mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource. When the
merge strategy is FailOnConflict
existing resources are not overwritten and the import fails.
mergeStrategy
- The strategy used when there was a name conflict between the imported resource and an existing resource.
When the merge strategy is FailOnConflict
existing resources are not overwritten and the
import fails.MergeStrategy
public String getMergeStrategy()
The strategy used when there was a name conflict between the imported resource and an existing resource. When the
merge strategy is FailOnConflict
existing resources are not overwritten and the import fails.
FailOnConflict
existing resources are not overwritten and the
import fails.MergeStrategy
public StartImportResult withMergeStrategy(String mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource. When the
merge strategy is FailOnConflict
existing resources are not overwritten and the import fails.
mergeStrategy
- The strategy used when there was a name conflict between the imported resource and an existing resource.
When the merge strategy is FailOnConflict
existing resources are not overwritten and the
import fails.MergeStrategy
public StartImportResult withMergeStrategy(MergeStrategy mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource. When the
merge strategy is FailOnConflict
existing resources are not overwritten and the import fails.
mergeStrategy
- The strategy used when there was a name conflict between the imported resource and an existing resource.
When the merge strategy is FailOnConflict
existing resources are not overwritten and the
import fails.MergeStrategy
public void setImportStatus(String importStatus)
The current status of the import. When the status is Complete
the bot, bot alias, or custom
vocabulary is ready to use.
importStatus
- The current status of the import. When the status is Complete
the bot, bot alias, or custom
vocabulary is ready to use.ImportStatus
public String getImportStatus()
The current status of the import. When the status is Complete
the bot, bot alias, or custom
vocabulary is ready to use.
Complete
the bot, bot alias, or custom
vocabulary is ready to use.ImportStatus
public StartImportResult withImportStatus(String importStatus)
The current status of the import. When the status is Complete
the bot, bot alias, or custom
vocabulary is ready to use.
importStatus
- The current status of the import. When the status is Complete
the bot, bot alias, or custom
vocabulary is ready to use.ImportStatus
public StartImportResult withImportStatus(ImportStatus importStatus)
The current status of the import. When the status is Complete
the bot, bot alias, or custom
vocabulary is ready to use.
importStatus
- The current status of the import. When the status is Complete
the bot, bot alias, or custom
vocabulary is ready to use.ImportStatus
public void setCreationDateTime(Date creationDateTime)
The date and time that the import request was created.
creationDateTime
- The date and time that the import request was created.public Date getCreationDateTime()
The date and time that the import request was created.
public StartImportResult withCreationDateTime(Date creationDateTime)
The date and time that the import request was created.
creationDateTime
- The date and time that the import request was created.public String toString()
toString
in class Object
Object.toString()
public StartImportResult clone()