@Generated(value="software.amazon.awssdk:codegen") public final class GetBotChannelAssociationResponse extends LexModelBuildingResponse implements ToCopyableBuilder<GetBotChannelAssociationResponse.Builder,GetBotChannelAssociationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetBotChannelAssociationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botAlias()
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
|
Map<String,String> |
botConfiguration()
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
|
String |
botName()
The name of the Amazon Lex bot.
|
static GetBotChannelAssociationResponse.Builder |
builder() |
Instant |
createdDate()
The date that the association between the bot and the channel was created.
|
String |
description()
A description of the association between the bot and the channel.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If
status is FAILED, Amazon Lex provides the reason that it failed to create the
association. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBotConfiguration()
Returns true if the BotConfiguration 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() |
String |
name()
The name of the association between the bot and the channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetBotChannelAssociationResponse.Builder> |
serializableBuilderClass() |
ChannelStatus |
status()
The status of the bot channel.
|
String |
statusAsString()
The status of the bot channel.
|
GetBotChannelAssociationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ChannelType |
type()
The type of the messaging platform.
|
String |
typeAsString()
The type of the messaging platform.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the association between the bot and the channel.
public final String description()
A description of the association between the bot and the channel.
public final String botAlias()
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
public final String botName()
The name of the Amazon Lex bot.
public final Instant createdDate()
The date that the association between the bot and the channel was created.
public final ChannelType type()
The type of the messaging platform.
If the service returns an enum value that is not available in the current SDK version, type will return
ChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ChannelTypepublic final String typeAsString()
The type of the messaging platform.
If the service returns an enum value that is not available in the current SDK version, type will return
ChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ChannelTypepublic final boolean hasBotConfiguration()
public final Map<String,String> botConfiguration()
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBotConfiguration() to see if a value was sent in this field.
public final ChannelStatus status()
The status of the bot channel.
CREATED - The channel has been created and is ready for use.
IN_PROGRESS - Channel creation is in progress.
FAILED - There was an error creating the channel. For information about the reason for the failure,
see the failureReason field.
If the service returns an enum value that is not available in the current SDK version, status will
return ChannelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATED - The channel has been created and is ready for use.
IN_PROGRESS - Channel creation is in progress.
FAILED - There was an error creating the channel. For information about the reason for the
failure, see the failureReason field.
ChannelStatuspublic final String statusAsString()
The status of the bot channel.
CREATED - The channel has been created and is ready for use.
IN_PROGRESS - Channel creation is in progress.
FAILED - There was an error creating the channel. For information about the reason for the failure,
see the failureReason field.
If the service returns an enum value that is not available in the current SDK version, status will
return ChannelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATED - The channel has been created and is ready for use.
IN_PROGRESS - Channel creation is in progress.
FAILED - There was an error creating the channel. For information about the reason for the
failure, see the failureReason field.
ChannelStatuspublic final String failureReason()
If status is FAILED, Amazon Lex provides the reason that it failed to create the
association.
status is FAILED, Amazon Lex provides the reason that it failed to create
the association.public GetBotChannelAssociationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetBotChannelAssociationResponse.Builder,GetBotChannelAssociationResponse>toBuilder in class AwsResponsepublic static GetBotChannelAssociationResponse.Builder builder()
public static Class<? extends GetBotChannelAssociationResponse.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.