Class StartImportResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
-
- software.amazon.awssdk.services.lexmodelsv2.model.StartImportResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartImportResponse.Builder,StartImportResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartImportResponse extends LexModelsV2Response implements ToCopyableBuilder<StartImportResponse.Builder,StartImportResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartImportResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartImportResponse.Builderbuilder()InstantcreationDateTime()The date and time that the import request was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportId()A unique identifier for the import.ImportStatusimportStatus()The current status of the import.StringimportStatusAsString()The current status of the import.MergeStrategymergeStrategy()The strategy used when there was a name conflict between the imported resource and an existing resource.StringmergeStrategyAsString()The strategy used when there was a name conflict between the imported resource and an existing resource.ImportResourceSpecificationresourceSpecification()The parameters used when importing the resource.List<SdkField<?>>sdkFields()static Class<? extends StartImportResponse.Builder>serializableBuilderClass()StartImportResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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()
A unique identifier for the import.
- Returns:
- A unique identifier for the import.
-
resourceSpecification
public final ImportResourceSpecification resourceSpecification()
The parameters used when importing the resource.
- Returns:
- The parameters used when importing the resource.
-
mergeStrategy
public final MergeStrategy mergeStrategy()
The strategy used when there was 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 used when there was 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 used when there was 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 used when there was 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
-
importStatus
public final ImportStatus importStatus()
The current status of the import. When the status is
Completethe bot, bot alias, or custom vocabulary is ready to use.If the service returns an enum value that is not available in the current SDK version,
importStatuswill returnImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportStatusAsString().- Returns:
- The current status of the import. When the status is
Completethe bot, bot alias, or custom vocabulary is ready to use. - See Also:
ImportStatus
-
importStatusAsString
public final String importStatusAsString()
The current status of the import. When the status is
Completethe bot, bot alias, or custom vocabulary is ready to use.If the service returns an enum value that is not available in the current SDK version,
importStatuswill returnImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportStatusAsString().- Returns:
- The current status of the import. When the status is
Completethe bot, bot alias, or custom vocabulary is ready to use. - See Also:
ImportStatus
-
creationDateTime
public final Instant creationDateTime()
The date and time that the import request was created.
- Returns:
- The date and time that the import request was created.
-
toBuilder
public StartImportResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartImportResponse.Builder,StartImportResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static StartImportResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartImportResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-