@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBotChannelAssociationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBotChannelAssociationResult() |
Modifier and Type | Method and Description |
---|---|
GetBotChannelAssociationResult |
addBotConfigurationEntry(String key,
String value)
Add a single BotConfiguration entry
|
GetBotChannelAssociationResult |
clearBotConfigurationEntries()
Removes all the entries added into BotConfiguration.
|
GetBotChannelAssociationResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotAlias()
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
|
Map<String,String> |
getBotConfiguration()
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
|
String |
getBotName()
The name of the Amazon Lex bot.
|
Date |
getCreatedDate()
The date that the association between the bot and the channel was created.
|
String |
getDescription()
A description of the association between the bot and the channel.
|
String |
getFailureReason()
If
status is FAILED , Amazon Lex provides the reason that it failed to create the
association. |
String |
getName()
The name of the association between the bot and the channel.
|
String |
getStatus()
The status of the bot channel.
|
String |
getType()
The type of the messaging platform.
|
int |
hashCode() |
void |
setBotAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
|
void |
setBotConfiguration(Map<String,String> botConfiguration)
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
|
void |
setBotName(String botName)
The name of the Amazon Lex bot.
|
void |
setCreatedDate(Date createdDate)
The date that the association between the bot and the channel was created.
|
void |
setDescription(String description)
A description of the association between the bot and the channel.
|
void |
setFailureReason(String failureReason)
If
status is FAILED , Amazon Lex provides the reason that it failed to create the
association. |
void |
setName(String name)
The name of the association between the bot and the channel.
|
void |
setStatus(ChannelStatus status)
The status of the bot channel.
|
void |
setStatus(String status)
The status of the bot channel.
|
void |
setType(ChannelType type)
The type of the messaging platform.
|
void |
setType(String type)
The type of the messaging platform.
|
String |
toString()
Returns a string representation of this object.
|
GetBotChannelAssociationResult |
withBotAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
|
GetBotChannelAssociationResult |
withBotConfiguration(Map<String,String> botConfiguration)
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
|
GetBotChannelAssociationResult |
withBotName(String botName)
The name of the Amazon Lex bot.
|
GetBotChannelAssociationResult |
withCreatedDate(Date createdDate)
The date that the association between the bot and the channel was created.
|
GetBotChannelAssociationResult |
withDescription(String description)
A description of the association between the bot and the channel.
|
GetBotChannelAssociationResult |
withFailureReason(String failureReason)
If
status is FAILED , Amazon Lex provides the reason that it failed to create the
association. |
GetBotChannelAssociationResult |
withName(String name)
The name of the association between the bot and the channel.
|
GetBotChannelAssociationResult |
withStatus(ChannelStatus status)
The status of the bot channel.
|
GetBotChannelAssociationResult |
withStatus(String status)
The status of the bot channel.
|
GetBotChannelAssociationResult |
withType(ChannelType type)
The type of the messaging platform.
|
GetBotChannelAssociationResult |
withType(String type)
The type of the messaging platform.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the association between the bot and the channel.
name
- The name of the association between the bot and the channel.public String getName()
The name of the association between the bot and the channel.
public GetBotChannelAssociationResult withName(String name)
The name of the association between the bot and the channel.
name
- The name of the association between the bot and the channel.public void setDescription(String description)
A description of the association between the bot and the channel.
description
- A description of the association between the bot and the channel.public String getDescription()
A description of the association between the bot and the channel.
public GetBotChannelAssociationResult withDescription(String description)
A description of the association between the bot and the channel.
description
- A description of the association between the bot and the channel.public void setBotAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
botAlias
- An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.public String getBotAlias()
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
public GetBotChannelAssociationResult withBotAlias(String botAlias)
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
botAlias
- An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.public void setBotName(String botName)
The name of the Amazon Lex bot.
botName
- The name of the Amazon Lex bot.public String getBotName()
The name of the Amazon Lex bot.
public GetBotChannelAssociationResult withBotName(String botName)
The name of the Amazon Lex bot.
botName
- The name of the Amazon Lex bot.public void setCreatedDate(Date createdDate)
The date that the association between the bot and the channel was created.
createdDate
- The date that the association between the bot and the channel was created.public Date getCreatedDate()
The date that the association between the bot and the channel was created.
public GetBotChannelAssociationResult withCreatedDate(Date createdDate)
The date that the association between the bot and the channel was created.
createdDate
- The date that the association between the bot and the channel was created.public void setType(String type)
The type of the messaging platform.
type
- The type of the messaging platform.ChannelType
public String getType()
The type of the messaging platform.
ChannelType
public GetBotChannelAssociationResult withType(String type)
The type of the messaging platform.
type
- The type of the messaging platform.ChannelType
public void setType(ChannelType type)
The type of the messaging platform.
type
- The type of the messaging platform.ChannelType
public GetBotChannelAssociationResult withType(ChannelType type)
The type of the messaging platform.
type
- The type of the messaging platform.ChannelType
public Map<String,String> getBotConfiguration()
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
public void setBotConfiguration(Map<String,String> botConfiguration)
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
botConfiguration
- Provides information that the messaging platform needs to communicate with the Amazon Lex bot.public GetBotChannelAssociationResult withBotConfiguration(Map<String,String> botConfiguration)
Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
botConfiguration
- Provides information that the messaging platform needs to communicate with the Amazon Lex bot.public GetBotChannelAssociationResult addBotConfigurationEntry(String key, String value)
public GetBotChannelAssociationResult clearBotConfigurationEntries()
public void setStatus(String 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.
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.
ChannelStatus
public String getStatus()
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.
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.
ChannelStatus
public GetBotChannelAssociationResult withStatus(String 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.
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.
ChannelStatus
public void setStatus(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.
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.
ChannelStatus
public GetBotChannelAssociationResult withStatus(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.
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.
ChannelStatus
public void setFailureReason(String failureReason)
If status
is FAILED
, Amazon Lex provides the reason that it failed to create the
association.
failureReason
- If status
is FAILED
, Amazon Lex provides the reason that it failed to create the
association.public String getFailureReason()
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 GetBotChannelAssociationResult withFailureReason(String failureReason)
If status
is FAILED
, Amazon Lex provides the reason that it failed to create the
association.
failureReason
- If status
is FAILED
, Amazon Lex provides the reason that it failed to create the
association.public String toString()
toString
in class Object
Object.toString()
public GetBotChannelAssociationResult clone()