@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) |
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) |
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 String name()
The name of the association between the bot and the channel.
public String description()
A description of the association between the bot and the channel.
public String botAlias()
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
public String botName()
The name of the Amazon Lex bot.
public Instant createdDate()
The date that the association between the bot and the channel was created.
public 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 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 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.
public 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 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 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 String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.