Class DeleteImportResponse
- 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.DeleteImportResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteImportResponse.Builder,DeleteImportResponse>
@Generated("software.amazon.awssdk:codegen") public final class DeleteImportResponse extends LexModelsV2Response implements ToCopyableBuilder<DeleteImportResponse.Builder,DeleteImportResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteImportResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteImportResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportId()The unique identifier of the deleted import.ImportStatusimportStatus()The current status of the deletion.StringimportStatusAsString()The current status of the deletion.List<SdkField<?>>sdkFields()static Class<? extends DeleteImportResponse.Builder>serializableBuilderClass()DeleteImportResponse.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()
The unique identifier of the deleted import.
- Returns:
- The unique identifier of the deleted import.
-
importStatus
public final ImportStatus importStatus()
The current status of the deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.
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 deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.
- See Also:
ImportStatus
-
importStatusAsString
public final String importStatusAsString()
The current status of the deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.
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 deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.
- See Also:
ImportStatus
-
toBuilder
public DeleteImportResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteImportResponse.Builder,DeleteImportResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DeleteImportResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteImportResponse.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
-
-