@Generated(value="software.amazon.awssdk:codegen") public final class PutBotAliasRequest extends LexModelBuildingRequest implements ToCopyableBuilder<PutBotAliasRequest.Builder,PutBotAliasRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
PutBotAliasRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
botName()
The name of the bot.
|
String |
botVersion()
The version of the bot.
|
static PutBotAliasRequest.Builder |
builder() |
String |
checksum()
Identifies a specific revision of the
$LATEST version. |
String |
description()
A description of the alias.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The name of the alias.
|
static Class<? extends PutBotAliasRequest.Builder> |
serializableBuilderClass() |
PutBotAliasRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String name()
The name of the alias. The name is not case sensitive.
public String description()
A description of the alias.
public String botVersion()
The version of the bot.
public String botName()
The name of the bot.
public 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.
$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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutBotAliasRequest.Builder,PutBotAliasRequest>
toBuilder
in class LexModelBuildingRequest
public static PutBotAliasRequest.Builder builder()
public static Class<? extends PutBotAliasRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.