@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartImportRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartImportRequest() |
Modifier and Type | Method and Description |
---|---|
StartImportRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFilePassword()
The password used to encrypt the zip archive that contains the resource definition.
|
String |
getImportId()
The unique identifier for the import.
|
String |
getMergeStrategy()
The strategy to use when there is a name conflict between the imported resource and an existing resource.
|
ImportResourceSpecification |
getResourceSpecification()
Parameters for creating the bot, bot locale or custom vocabulary.
|
int |
hashCode() |
void |
setFilePassword(String filePassword)
The password used to encrypt the zip archive that contains the resource definition.
|
void |
setImportId(String importId)
The unique identifier for the import.
|
void |
setMergeStrategy(String mergeStrategy)
The strategy to use when there is a name conflict between the imported resource and an existing resource.
|
void |
setResourceSpecification(ImportResourceSpecification resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
|
String |
toString()
Returns a string representation of this object.
|
StartImportRequest |
withFilePassword(String filePassword)
The password used to encrypt the zip archive that contains the resource definition.
|
StartImportRequest |
withImportId(String importId)
The unique identifier for the import.
|
StartImportRequest |
withMergeStrategy(MergeStrategy mergeStrategy)
The strategy to use when there is a name conflict between the imported resource and an existing resource.
|
StartImportRequest |
withMergeStrategy(String mergeStrategy)
The strategy to use when there is a name conflict between the imported resource and an existing resource.
|
StartImportRequest |
withResourceSpecification(ImportResourceSpecification resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
|
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 setImportId(String importId)
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
importId
- The unique identifier for the import. It is included in the response from the CreateUploadUrl
operation.public String getImportId()
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
public StartImportRequest withImportId(String importId)
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
importId
- The unique identifier for the import. It is included in the response from the CreateUploadUrl
operation.public void setResourceSpecification(ImportResourceSpecification resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
resourceSpecification
- Parameters for creating the bot, bot locale or custom vocabulary.public ImportResourceSpecification getResourceSpecification()
Parameters for creating the bot, bot locale or custom vocabulary.
public StartImportRequest withResourceSpecification(ImportResourceSpecification resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
resourceSpecification
- Parameters for creating the bot, bot locale or custom vocabulary.public void setMergeStrategy(String mergeStrategy)
The strategy to use when there is 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 to use when there is 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 to use when there is 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 StartImportRequest withMergeStrategy(String mergeStrategy)
The strategy to use when there is 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 to use when there is 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 StartImportRequest withMergeStrategy(MergeStrategy mergeStrategy)
The strategy to use when there is 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 to use when there is 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 setFilePassword(String filePassword)
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
filePassword
- The password used to encrypt the zip archive that contains the resource definition. You should always
encrypt the zip archive to protect it during transit between your site and Amazon Lex.public String getFilePassword()
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
public StartImportRequest withFilePassword(String filePassword)
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
filePassword
- The password used to encrypt the zip archive that contains the resource definition. You should always
encrypt the zip archive to protect it during transit between your site and Amazon Lex.public String toString()
toString
in class Object
Object.toString()
public StartImportRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()