Class GetExportResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse
-
- software.amazon.awssdk.services.lexmodelbuilding.model.GetExportResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetExportResponse.Builder,GetExportResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetExportResponse extends LexModelBuildingResponse implements ToCopyableBuilder<GetExportResponse.Builder,GetExportResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetExportResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetExportResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExportStatusexportStatus()The status of the export.StringexportStatusAsString()The status of the export.ExportTypeexportType()The format of the exported data.StringexportTypeAsString()The format of the exported data.StringfailureReason()IfstatusisFAILED, Amazon Lex provides the reason that it failed to export the resource.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the bot being exported.ResourceTyperesourceType()The type of the exported resource.StringresourceTypeAsString()The type of the exported resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetExportResponse.Builder>serializableBuilderClass()GetExportResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringurl()An S3 pre-signed URL that provides the location of the exported resource.Stringversion()The version of the bot being exported.-
Methods inherited from class software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse
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
-
name
public final String name()
The name of the bot being exported.
- Returns:
- The name of the bot being exported.
-
version
public final String version()
The version of the bot being exported.
- Returns:
- The version of the bot being exported.
-
resourceType
public final ResourceType resourceType()
The type of the exported resource.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of the exported resource.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The type of the exported resource.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of the exported resource.
- See Also:
ResourceType
-
exportType
public final ExportType exportType()
The format of the exported data.
If the service returns an enum value that is not available in the current SDK version,
exportTypewill returnExportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexportTypeAsString().- Returns:
- The format of the exported data.
- See Also:
ExportType
-
exportTypeAsString
public final String exportTypeAsString()
The format of the exported data.
If the service returns an enum value that is not available in the current SDK version,
exportTypewill returnExportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexportTypeAsString().- Returns:
- The format of the exported data.
- See Also:
ExportType
-
exportStatus
public final ExportStatus exportStatus()
The status of the export.
-
IN_PROGRESS- The export is in progress. -
READY- The export is complete. -
FAILED- The export could not be completed.
If the service returns an enum value that is not available in the current SDK version,
exportStatuswill returnExportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexportStatusAsString().- Returns:
- The status of the export.
-
IN_PROGRESS- The export is in progress. -
READY- The export is complete. -
FAILED- The export could not be completed.
-
- See Also:
ExportStatus
-
-
exportStatusAsString
public final String exportStatusAsString()
The status of the export.
-
IN_PROGRESS- The export is in progress. -
READY- The export is complete. -
FAILED- The export could not be completed.
If the service returns an enum value that is not available in the current SDK version,
exportStatuswill returnExportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexportStatusAsString().- Returns:
- The status of the export.
-
IN_PROGRESS- The export is in progress. -
READY- The export is complete. -
FAILED- The export could not be completed.
-
- See Also:
ExportStatus
-
-
failureReason
public final String failureReason()
If
statusisFAILED, Amazon Lex provides the reason that it failed to export the resource.- Returns:
- If
statusisFAILED, Amazon Lex provides the reason that it failed to export the resource.
-
url
public final String url()
An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.
- Returns:
- An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.
-
toBuilder
public GetExportResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetExportResponse.Builder,GetExportResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetExportResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetExportResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-