@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()
Returns true if the BotTags property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTestBotAliasTags()
Returns true if the TestBotAliasTags property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
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()
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.
You can use hasBotTags() to see if a value was sent in this field.
public final boolean hasTestBotAliasTags()
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.
You can use hasTestBotAliasTags() to see if a value was sent in this field.
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 © 2021. All rights reserved.