@Generated(value="software.amazon.awssdk:codegen") public final class StopBotRecommendationResponse extends LexModelsV2Response implements ToCopyableBuilder<StopBotRecommendationResponse.Builder,StopBotRecommendationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StopBotRecommendationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The unique identifier of the bot containing the bot recommendation that is being stopped.
|
String |
botRecommendationId()
The unique identifier of the bot recommendation that is being stopped.
|
BotRecommendationStatus |
botRecommendationStatus()
The status of the bot recommendation.
|
String |
botRecommendationStatusAsString()
The status of the bot recommendation.
|
String |
botVersion()
The version of the bot containing the recommendation that is being stopped.
|
static StopBotRecommendationResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
localeId()
The identifier of the language and locale of the bot response to stop.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StopBotRecommendationResponse.Builder> |
serializableBuilderClass() |
StopBotRecommendationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The unique identifier of the bot containing the bot recommendation that is being stopped.
public final String botVersion()
The version of the bot containing the recommendation that is being stopped.
public final String localeId()
The identifier of the language and locale of the bot response to stop. The string must match one of the supported locales. For more information, see Supported languages
public final BotRecommendationStatus botRecommendationStatus()
The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
If the service returns an enum value that is not available in the current SDK version,
botRecommendationStatus will return BotRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from botRecommendationStatusAsString().
BotRecommendationStatuspublic final String botRecommendationStatusAsString()
The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
If the service returns an enum value that is not available in the current SDK version,
botRecommendationStatus will return BotRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from botRecommendationStatusAsString().
BotRecommendationStatuspublic final String botRecommendationId()
The unique identifier of the bot recommendation that is being stopped.
public StopBotRecommendationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StopBotRecommendationResponse.Builder,StopBotRecommendationResponse>toBuilder in class AwsResponsepublic static StopBotRecommendationResponse.Builder builder()
public static Class<? extends StopBotRecommendationResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.