Class CreateExportResponse
- 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.CreateExportResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateExportResponse.Builder,CreateExportResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateExportResponse extends LexModelsV2Response implements ToCopyableBuilder<CreateExportResponse.Builder,CreateExportResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateExportResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateExportResponse.Builderbuilder()InstantcreationDateTime()The date and time that the request to export a bot was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexportId()An identifier for a specific request to create an export.ExportStatusexportStatus()The status of the export.StringexportStatusAsString()The status of the export.ImportExportFileFormatfileFormat()The file format used for the bot or bot locale definition files.StringfileFormatAsString()The file format used for the bot or bot locale definition files.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ExportResourceSpecificationresourceSpecification()A description of the type of resource that was exported, either a bot or a bot locale.List<SdkField<?>>sdkFields()static Class<? extends CreateExportResponse.Builder>serializableBuilderClass()CreateExportResponse.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
-
exportId
public final String exportId()
An identifier for a specific request to create an export.
- Returns:
- An identifier for a specific request to create an export.
-
resourceSpecification
public final ExportResourceSpecification resourceSpecification()
A description of the type of resource that was exported, either a bot or a bot locale.
- Returns:
- A description of the type of resource that was exported, either a bot or a bot locale.
-
fileFormat
public final ImportExportFileFormat fileFormat()
The file format used for the bot or bot locale definition files.
If the service returns an enum value that is not available in the current SDK version,
fileFormatwill returnImportExportFileFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileFormatAsString().- Returns:
- The file format used for the bot or bot locale definition files.
- See Also:
ImportExportFileFormat
-
fileFormatAsString
public final String fileFormatAsString()
The file format used for the bot or bot locale definition files.
If the service returns an enum value that is not available in the current SDK version,
fileFormatwill returnImportExportFileFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileFormatAsString().- Returns:
- The file format used for the bot or bot locale definition files.
- See Also:
ImportExportFileFormat
-
exportStatus
public final ExportStatus exportStatus()
The status of the export. When the status is
Completed, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.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. When the status is
Completed, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale. - See Also:
ExportStatus
-
exportStatusAsString
public final String exportStatusAsString()
The status of the export. When the status is
Completed, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.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. When the status is
Completed, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale. - See Also:
ExportStatus
-
creationDateTime
public final Instant creationDateTime()
The date and time that the request to export a bot was created.
- Returns:
- The date and time that the request to export a bot was created.
-
toBuilder
public CreateExportResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateExportResponse.Builder,CreateExportResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateExportResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateExportResponse.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
-
-