@Generated(value="software.amazon.awssdk:codegen") public class PutBotAliasResponse extends LexModelBuildingResponse implements ToCopyableBuilder<PutBotAliasResponse.Builder,PutBotAliasResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
PutBotAliasResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
botName()
The name of the bot that the alias points to.
|
String |
botVersion()
The version of the bot that the alias points to.
|
static PutBotAliasResponse.Builder |
builder() |
String |
checksum()
The checksum for the current version of the alias.
|
Instant |
createdDate()
The date that the bot alias was created.
|
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
SdkResponse . |
int |
hashCode() |
Instant |
lastUpdatedDate()
The date that the bot alias was updated.
|
String |
name()
The name of the alias.
|
static Class<? extends PutBotAliasResponse.Builder> |
serializableBuilderClass() |
PutBotAliasResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the alias.
public String description()
A description of the alias.
public String botVersion()
The version of the bot that the alias points to.
public String botName()
The name of the bot that the alias points to.
public Instant lastUpdatedDate()
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
public Instant createdDate()
The date that the bot alias was created.
public String checksum()
The checksum for the current version of the alias.
public PutBotAliasResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutBotAliasResponse.Builder,PutBotAliasResponse>
toBuilder
in class AwsResponse
public static PutBotAliasResponse.Builder builder()
public static Class<? extends PutBotAliasResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
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.