Class StartBotResourceGenerationResponse
- 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.StartBotResourceGenerationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartBotResourceGenerationResponse.Builder,StartBotResourceGenerationResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartBotResourceGenerationResponse extends LexModelsV2Response implements ToCopyableBuilder<StartBotResourceGenerationResponse.Builder,StartBotResourceGenerationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartBotResourceGenerationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The unique identifier of the bot for which the generation request was made.StringbotVersion()The version of the bot for which the generation request was made.static StartBotResourceGenerationResponse.Builderbuilder()InstantcreationDateTime()The date and time at which the generation request was made.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgenerationId()The unique identifier of the generation request.StringgenerationInputPrompt()The prompt that was used generate intents and slot types for the bot locale.GenerationStatusgenerationStatus()The status of the generation request.StringgenerationStatusAsString()The status of the generation request.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocaleId()The locale of the bot for which the generation request was made.List<SdkField<?>>sdkFields()static Class<? extends StartBotResourceGenerationResponse.Builder>serializableBuilderClass()StartBotResourceGenerationResponse.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
-
generationInputPrompt
public final String generationInputPrompt()
The prompt that was used generate intents and slot types for the bot locale.
- Returns:
- The prompt that was used generate intents and slot types for the bot locale.
-
generationId
public final String generationId()
The unique identifier of the generation request.
- Returns:
- The unique identifier of the generation request.
-
botId
public final String botId()
The unique identifier of the bot for which the generation request was made.
- Returns:
- The unique identifier of the bot for which the generation request was made.
-
botVersion
public final String botVersion()
The version of the bot for which the generation request was made.
- Returns:
- The version of the bot for which the generation request was made.
-
localeId
public final String localeId()
The locale of the bot for which the generation request was made.
- Returns:
- The locale of the bot for which the generation request was made.
-
generationStatus
public final GenerationStatus generationStatus()
The status of the generation request.
If the service returns an enum value that is not available in the current SDK version,
generationStatuswill returnGenerationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgenerationStatusAsString().- Returns:
- The status of the generation request.
- See Also:
GenerationStatus
-
generationStatusAsString
public final String generationStatusAsString()
The status of the generation request.
If the service returns an enum value that is not available in the current SDK version,
generationStatuswill returnGenerationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgenerationStatusAsString().- Returns:
- The status of the generation request.
- See Also:
GenerationStatus
-
creationDateTime
public final Instant creationDateTime()
The date and time at which the generation request was made.
- Returns:
- The date and time at which the generation request was made.
-
toBuilder
public StartBotResourceGenerationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartBotResourceGenerationResponse.Builder,StartBotResourceGenerationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static StartBotResourceGenerationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartBotResourceGenerationResponse.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
-
-