@Generated(value="software.amazon.awssdk:codegen") public final class StartImportRequest extends LexModelsV2Request implements ToCopyableBuilder<StartImportRequest.Builder,StartImportRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartImportRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartImportRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
filePassword()
The password used to encrypt the zip archive that contains the bot or bot locale definition.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
importId()
The unique identifier for the import.
|
MergeStrategy |
mergeStrategy()
The strategy to use when there is a name conflict between the imported resource and an existing resource.
|
String |
mergeStrategyAsString()
The strategy to use when there is a name conflict between the imported resource and an existing resource.
|
ImportResourceSpecification |
resourceSpecification()
Parameters for creating the bot or bot locale.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartImportRequest.Builder> |
serializableBuilderClass() |
StartImportRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String importId()
The unique identifier for the import. It is included in the response from the operation.
public final ImportResourceSpecification resourceSpecification()
Parameters for creating the bot or bot locale.
public final 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.
If the service returns an enum value that is not available in the current SDK version, mergeStrategy
will return MergeStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mergeStrategyAsString().
FailOnConflict existing resources are not overwritten and the
import fails.MergeStrategypublic final String mergeStrategyAsString()
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.
If the service returns an enum value that is not available in the current SDK version, mergeStrategy
will return MergeStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mergeStrategyAsString().
FailOnConflict existing resources are not overwritten and the
import fails.MergeStrategypublic final String filePassword()
The password used to encrypt the zip archive that contains the bot or bot locale definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
public StartImportRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartImportRequest.Builder,StartImportRequest>toBuilder in class LexModelsV2Requestpublic static StartImportRequest.Builder builder()
public static Class<? extends StartImportRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.