@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotAliasLocaleSettings extends Object implements Serializable, Cloneable, StructuredPojo
Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
Constructor and Description |
---|
BotAliasLocaleSettings() |
Modifier and Type | Method and Description |
---|---|
BotAliasLocaleSettings |
clone() |
boolean |
equals(Object obj) |
CodeHookSpecification |
getCodeHookSpecification()
Specifies the Lambda function that should be used in the locale.
|
Boolean |
getEnabled()
Determines whether the locale is enabled for the bot.
|
int |
hashCode() |
Boolean |
isEnabled()
Determines whether the locale is enabled for the bot.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodeHookSpecification(CodeHookSpecification codeHookSpecification)
Specifies the Lambda function that should be used in the locale.
|
void |
setEnabled(Boolean enabled)
Determines whether the locale is enabled for the bot.
|
String |
toString()
Returns a string representation of this object.
|
BotAliasLocaleSettings |
withCodeHookSpecification(CodeHookSpecification codeHookSpecification)
Specifies the Lambda function that should be used in the locale.
|
BotAliasLocaleSettings |
withEnabled(Boolean enabled)
Determines whether the locale is enabled for the bot.
|
public void setEnabled(Boolean enabled)
Determines whether the locale is enabled for the bot. If the value is false
, the locale isn't
available for use.
enabled
- Determines whether the locale is enabled for the bot. If the value is false
, the locale isn't
available for use.public Boolean getEnabled()
Determines whether the locale is enabled for the bot. If the value is false
, the locale isn't
available for use.
false
, the locale
isn't available for use.public BotAliasLocaleSettings withEnabled(Boolean enabled)
Determines whether the locale is enabled for the bot. If the value is false
, the locale isn't
available for use.
enabled
- Determines whether the locale is enabled for the bot. If the value is false
, the locale isn't
available for use.public Boolean isEnabled()
Determines whether the locale is enabled for the bot. If the value is false
, the locale isn't
available for use.
false
, the locale
isn't available for use.public void setCodeHookSpecification(CodeHookSpecification codeHookSpecification)
Specifies the Lambda function that should be used in the locale.
codeHookSpecification
- Specifies the Lambda function that should be used in the locale.public CodeHookSpecification getCodeHookSpecification()
Specifies the Lambda function that should be used in the locale.
public BotAliasLocaleSettings withCodeHookSpecification(CodeHookSpecification codeHookSpecification)
Specifies the Lambda function that should be used in the locale.
codeHookSpecification
- Specifies the Lambda function that should be used in the locale.public String toString()
toString
in class Object
Object.toString()
public BotAliasLocaleSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.