@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutBotAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutBotAliasRequest() |
Modifier and Type | Method and Description |
---|---|
PutBotAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotName()
The name of the bot.
|
String |
getBotVersion()
The version of the bot.
|
String |
getChecksum()
Identifies a specific revision of the
$LATEST version. |
String |
getDescription()
A description of the alias.
|
String |
getName()
The name of the alias.
|
int |
hashCode() |
void |
setBotName(String botName)
The name of the bot.
|
void |
setBotVersion(String botVersion)
The version of the bot.
|
void |
setChecksum(String checksum)
Identifies a specific revision of the
$LATEST version. |
void |
setDescription(String description)
A description of the alias.
|
void |
setName(String name)
The name of the alias.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutBotAliasRequest |
withBotName(String botName)
The name of the bot.
|
PutBotAliasRequest |
withBotVersion(String botVersion)
The version of the bot.
|
PutBotAliasRequest |
withChecksum(String checksum)
Identifies a specific revision of the
$LATEST version. |
PutBotAliasRequest |
withDescription(String description)
A description of the alias.
|
PutBotAliasRequest |
withName(String name)
The name of the alias.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the alias. The name is not case sensitive.
name
- The name of the alias. The name is not case sensitive.public String getName()
The name of the alias. The name is not case sensitive.
public PutBotAliasRequest withName(String name)
The name of the alias. The name is not case sensitive.
name
- The name of the alias. The name is not case sensitive.public void setDescription(String description)
A description of the alias.
description
- A description of the alias.public String getDescription()
A description of the alias.
public PutBotAliasRequest withDescription(String description)
A description of the alias.
description
- A description of the alias.public void setBotVersion(String botVersion)
The version of the bot.
botVersion
- The version of the bot.public String getBotVersion()
The version of the bot.
public PutBotAliasRequest withBotVersion(String botVersion)
The version of the bot.
botVersion
- The version of the bot.public void setBotName(String botName)
The name of the bot.
botName
- The name of the bot.public String getBotName()
The name of the bot.
public PutBotAliasRequest withBotName(String botName)
The name of the bot.
botName
- The name of the bot.public void setChecksum(String checksum)
Identifies a specific revision of the $LATEST
version.
When you create a new bot alias, leave the checksum
field blank. If you specify a checksum you get a
BadRequestException
exception.
When you want to update a bot alias, set the checksum
field to the checksum of the most recent
revision of the $LATEST
version. If you don't specify the checksum
field, or if the
checksum does not match the $LATEST
version, you get a PreconditionFailedException
exception.
checksum
- Identifies a specific revision of the $LATEST
version.
When you create a new bot alias, leave the checksum
field blank. If you specify a checksum
you get a BadRequestException
exception.
When you want to update a bot alias, set the checksum
field to the checksum of the most
recent revision of the $LATEST
version. If you don't specify the checksum
field, or if the checksum does not match the $LATEST
version, you get a
PreconditionFailedException
exception.
public String getChecksum()
Identifies a specific revision of the $LATEST
version.
When you create a new bot alias, leave the checksum
field blank. If you specify a checksum you get a
BadRequestException
exception.
When you want to update a bot alias, set the checksum
field to the checksum of the most recent
revision of the $LATEST
version. If you don't specify the checksum
field, or if the
checksum does not match the $LATEST
version, you get a PreconditionFailedException
exception.
$LATEST
version.
When you create a new bot alias, leave the checksum
field blank. If you specify a checksum
you get a BadRequestException
exception.
When you want to update a bot alias, set the checksum
field to the checksum of the most
recent revision of the $LATEST
version. If you don't specify the checksum
field, or if the checksum does not match the $LATEST
version, you get a
PreconditionFailedException
exception.
public PutBotAliasRequest withChecksum(String checksum)
Identifies a specific revision of the $LATEST
version.
When you create a new bot alias, leave the checksum
field blank. If you specify a checksum you get a
BadRequestException
exception.
When you want to update a bot alias, set the checksum
field to the checksum of the most recent
revision of the $LATEST
version. If you don't specify the checksum
field, or if the
checksum does not match the $LATEST
version, you get a PreconditionFailedException
exception.
checksum
- Identifies a specific revision of the $LATEST
version.
When you create a new bot alias, leave the checksum
field blank. If you specify a checksum
you get a BadRequestException
exception.
When you want to update a bot alias, set the checksum
field to the checksum of the most
recent revision of the $LATEST
version. If you don't specify the checksum
field, or if the checksum does not match the $LATEST
version, you get a
PreconditionFailedException
exception.
public String toString()
toString
in class Object
Object.toString()
public PutBotAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.