@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeImportResult() |
Modifier and Type | Method and Description |
---|---|
DescribeImportResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The date and time that the import was created.
|
List<String> |
getFailureReasons()
If the
importStatus field is Failed , this provides one or more reasons for the failure. |
String |
getImportedResourceId()
The unique identifier that Amazon Lex assigned to the resource created by the import.
|
String |
getImportedResourceName()
The name of the imported resource.
|
String |
getImportId()
The unique identifier of the described import.
|
String |
getImportStatus()
The status of the import process.
|
Date |
getLastUpdatedDateTime()
The date and time that the import was last updated.
|
String |
getMergeStrategy()
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
ImportResourceSpecification |
getResourceSpecification()
The specifications of the imported bot, bot locale, or custom vocabulary.
|
int |
hashCode() |
void |
setCreationDateTime(Date creationDateTime)
The date and time that the import was created.
|
void |
setFailureReasons(Collection<String> failureReasons)
If the
importStatus field is Failed , this provides one or more reasons for the failure. |
void |
setImportedResourceId(String importedResourceId)
The unique identifier that Amazon Lex assigned to the resource created by the import.
|
void |
setImportedResourceName(String importedResourceName)
The name of the imported resource.
|
void |
setImportId(String importId)
The unique identifier of the described import.
|
void |
setImportStatus(String importStatus)
The status of the import process.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the import was last updated.
|
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 specifications of the imported bot, bot locale, or custom vocabulary.
|
String |
toString()
Returns a string representation of this object.
|
DescribeImportResult |
withCreationDateTime(Date creationDateTime)
The date and time that the import was created.
|
DescribeImportResult |
withFailureReasons(Collection<String> failureReasons)
If the
importStatus field is Failed , this provides one or more reasons for the failure. |
DescribeImportResult |
withFailureReasons(String... failureReasons)
If the
importStatus field is Failed , this provides one or more reasons for the failure. |
DescribeImportResult |
withImportedResourceId(String importedResourceId)
The unique identifier that Amazon Lex assigned to the resource created by the import.
|
DescribeImportResult |
withImportedResourceName(String importedResourceName)
The name of the imported resource.
|
DescribeImportResult |
withImportId(String importId)
The unique identifier of the described import.
|
DescribeImportResult |
withImportStatus(ImportStatus importStatus)
The status of the import process.
|
DescribeImportResult |
withImportStatus(String importStatus)
The status of the import process.
|
DescribeImportResult |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the import was last updated.
|
DescribeImportResult |
withMergeStrategy(MergeStrategy mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
DescribeImportResult |
withMergeStrategy(String mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
DescribeImportResult |
withResourceSpecification(ImportResourceSpecification resourceSpecification)
The specifications of the imported bot, bot locale, or custom vocabulary.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setImportId(String importId)
The unique identifier of the described import.
importId
- The unique identifier of the described import.public String getImportId()
The unique identifier of the described import.
public DescribeImportResult withImportId(String importId)
The unique identifier of the described import.
importId
- The unique identifier of the described import.public void setResourceSpecification(ImportResourceSpecification resourceSpecification)
The specifications of the imported bot, bot locale, or custom vocabulary.
resourceSpecification
- The specifications of the imported bot, bot locale, or custom vocabulary.public ImportResourceSpecification getResourceSpecification()
The specifications of the imported bot, bot locale, or custom vocabulary.
public DescribeImportResult withResourceSpecification(ImportResourceSpecification resourceSpecification)
The specifications of the imported bot, bot locale, or custom vocabulary.
resourceSpecification
- The specifications of the imported bot, bot locale, or custom vocabulary.public void setImportedResourceId(String importedResourceId)
The unique identifier that Amazon Lex assigned to the resource created by the import.
importedResourceId
- The unique identifier that Amazon Lex assigned to the resource created by the import.public String getImportedResourceId()
The unique identifier that Amazon Lex assigned to the resource created by the import.
public DescribeImportResult withImportedResourceId(String importedResourceId)
The unique identifier that Amazon Lex assigned to the resource created by the import.
importedResourceId
- The unique identifier that Amazon Lex assigned to the resource created by the import.public void setImportedResourceName(String importedResourceName)
The name of the imported resource.
importedResourceName
- The name of the imported resource.public String getImportedResourceName()
The name of the imported resource.
public DescribeImportResult withImportedResourceName(String importedResourceName)
The name of the imported resource.
importedResourceName
- The name of the imported 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 DescribeImportResult 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 DescribeImportResult 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 status of the import process. When the status is Completed
the resource is imported and ready
for use.
importStatus
- The status of the import process. When the status is Completed
the resource is imported and
ready for use.ImportStatus
public String getImportStatus()
The status of the import process. When the status is Completed
the resource is imported and ready
for use.
Completed
the resource is imported and
ready for use.ImportStatus
public DescribeImportResult withImportStatus(String importStatus)
The status of the import process. When the status is Completed
the resource is imported and ready
for use.
importStatus
- The status of the import process. When the status is Completed
the resource is imported and
ready for use.ImportStatus
public DescribeImportResult withImportStatus(ImportStatus importStatus)
The status of the import process. When the status is Completed
the resource is imported and ready
for use.
importStatus
- The status of the import process. When the status is Completed
the resource is imported and
ready for use.ImportStatus
public List<String> getFailureReasons()
If the importStatus
field is Failed
, this provides one or more reasons for the failure.
importStatus
field is Failed
, this provides one or more reasons for the
failure.public void setFailureReasons(Collection<String> failureReasons)
If the importStatus
field is Failed
, this provides one or more reasons for the failure.
failureReasons
- If the importStatus
field is Failed
, this provides one or more reasons for the
failure.public DescribeImportResult withFailureReasons(String... failureReasons)
If the importStatus
field is Failed
, this provides one or more reasons for the failure.
NOTE: This method appends the values to the existing list (if any). Use
setFailureReasons(java.util.Collection)
or withFailureReasons(java.util.Collection)
if you want
to override the existing values.
failureReasons
- If the importStatus
field is Failed
, this provides one or more reasons for the
failure.public DescribeImportResult withFailureReasons(Collection<String> failureReasons)
If the importStatus
field is Failed
, this provides one or more reasons for the failure.
failureReasons
- If the importStatus
field is Failed
, this provides one or more reasons for the
failure.public void setCreationDateTime(Date creationDateTime)
The date and time that the import was created.
creationDateTime
- The date and time that the import was created.public Date getCreationDateTime()
The date and time that the import was created.
public DescribeImportResult withCreationDateTime(Date creationDateTime)
The date and time that the import was created.
creationDateTime
- The date and time that the import was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the import was last updated.
lastUpdatedDateTime
- The date and time that the import was last updated.public Date getLastUpdatedDateTime()
The date and time that the import was last updated.
public DescribeImportResult withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the import was last updated.
lastUpdatedDateTime
- The date and time that the import was last updated.public String toString()
toString
in class Object
Object.toString()
public DescribeImportResult clone()