@Generated(value="software.amazon.awssdk:codegen") public final class CreateBotResponse extends LexModelsV2Response implements ToCopyableBuilder<CreateBotResponse.Builder,CreateBotResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBotResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
A unique identifier for a particular bot.
|
String |
botName()
The name specified for the bot.
|
BotStatus |
botStatus()
Shows the current status of the bot.
|
String |
botStatusAsString()
Shows the current status of the bot.
|
Map<String,String> |
botTags()
A list of tags associated with the bot.
|
static CreateBotResponse.Builder |
builder() |
Instant |
creationDateTime()
A timestamp indicating the date and time that the bot was created.
|
DataPrivacy |
dataPrivacy()
The data privacy settings specified for the bot.
|
String |
description()
The description specified for the bot.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBotTags()
For responses, this returns true if the service returned a value for the BotTags property.
|
int |
hashCode() |
boolean |
hasTestBotAliasTags()
For responses, this returns true if the service returned a value for the TestBotAliasTags property.
|
Integer |
idleSessionTTLInSeconds()
The session idle time specified for the bot.
|
String |
roleArn()
The IAM role specified for the bot.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBotResponse.Builder> |
serializableBuilderClass() |
Map<String,String> |
testBotAliasTags()
A list of tags associated with the test alias for the bot.
|
CreateBotResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
public final String botName()
The name specified for the bot.
public final String description()
The description specified for the bot.
public final String roleArn()
The IAM role specified for the bot.
public final DataPrivacy dataPrivacy()
The data privacy settings specified for the bot.
public final Integer idleSessionTTLInSeconds()
The session idle time specified for the bot.
public final BotStatus botStatus()
Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read
for use, it changes to the Available status. After the bot is created, you can use the
Draft version of the bot.
If the service returns an enum value that is not available in the current SDK version, botStatus will
return BotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
botStatusAsString().
Creating status. Once the bot
is read for use, it changes to the Available status. After the bot is created, you can use
the Draft version of the bot.BotStatuspublic final String botStatusAsString()
Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read
for use, it changes to the Available status. After the bot is created, you can use the
Draft version of the bot.
If the service returns an enum value that is not available in the current SDK version, botStatus will
return BotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
botStatusAsString().
Creating status. Once the bot
is read for use, it changes to the Available status. After the bot is created, you can use
the Draft version of the bot.BotStatuspublic final Instant creationDateTime()
A timestamp indicating the date and time that the bot was created.
public final boolean hasBotTags()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final Map<String,String> botTags()
A list of tags associated with the bot.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBotTags() method.
public final boolean hasTestBotAliasTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> testBotAliasTags()
A list of tags associated with the test alias for the bot.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTestBotAliasTags() method.
public CreateBotResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBotResponse.Builder,CreateBotResponse>toBuilder in class AwsResponsepublic static CreateBotResponse.Builder builder()
public static Class<? extends CreateBotResponse.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 © 2022. All rights reserved.