Class StartImportRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request
-
- software.amazon.awssdk.services.lexmodelsv2.model.StartImportRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartImportRequest.Builder,StartImportRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartImportRequest extends LexModelsV2Request implements ToCopyableBuilder<StartImportRequest.Builder,StartImportRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartImportRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartImportRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilePassword()The password used to encrypt the zip archive that contains the resource definition.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportId()The unique identifier for the import.MergeStrategymergeStrategy()The strategy to use when there is a name conflict between the imported resource and an existing resource.StringmergeStrategyAsString()The strategy to use when there is a name conflict between the imported resource and an existing resource.ImportResourceSpecificationresourceSpecification()Parameters for creating the bot, bot locale or custom vocabulary.List<SdkField<?>>sdkFields()static Class<? extends StartImportRequest.Builder>serializableBuilderClass()StartImportRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
importId
public final String importId()
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
- Returns:
- The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
-
resourceSpecification
public final ImportResourceSpecification resourceSpecification()
Parameters for creating the bot, bot locale or custom vocabulary.
- Returns:
- Parameters for creating the bot, bot locale or custom vocabulary.
-
mergeStrategy
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
FailOnConflictexisting resources are not overwritten and the import fails.If the service returns an enum value that is not available in the current SDK version,
mergeStrategywill returnMergeStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommergeStrategyAsString().- Returns:
- The strategy to use when there is a name conflict between the imported resource and an existing resource.
When the merge strategy is
FailOnConflictexisting resources are not overwritten and the import fails. - See Also:
MergeStrategy
-
mergeStrategyAsString
public 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
FailOnConflictexisting resources are not overwritten and the import fails.If the service returns an enum value that is not available in the current SDK version,
mergeStrategywill returnMergeStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommergeStrategyAsString().- Returns:
- The strategy to use when there is a name conflict between the imported resource and an existing resource.
When the merge strategy is
FailOnConflictexisting resources are not overwritten and the import fails. - See Also:
MergeStrategy
-
filePassword
public final 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.
- Returns:
- 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.
-
toBuilder
public StartImportRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartImportRequest.Builder,StartImportRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static StartImportRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartImportRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-