@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSlotTypeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSlotTypeResult() |
Modifier and Type | Method and Description |
---|---|
GetSlotTypeResult |
clone() |
boolean |
equals(Object obj) |
String |
getChecksum()
Checksum of the
$LATEST version of the slot type. |
Date |
getCreatedDate()
The date that the slot type was created.
|
String |
getDescription()
A description of the slot type.
|
List<EnumerationValue> |
getEnumerationValues()
A list of
EnumerationValue objects that defines the values that the slot type can take. |
Date |
getLastUpdatedDate()
The date that the slot type was updated.
|
String |
getName()
The name of the slot type.
|
String |
getParentSlotTypeSignature()
The built-in slot type used as a parent for the slot type.
|
List<SlotTypeConfiguration> |
getSlotTypeConfigurations()
Configuration information that extends the parent built-in slot type.
|
String |
getValueSelectionStrategy()
The strategy that Amazon Lex uses to determine the value of the slot.
|
String |
getVersion()
The version of the slot type.
|
int |
hashCode() |
void |
setChecksum(String checksum)
Checksum of the
$LATEST version of the slot type. |
void |
setCreatedDate(Date createdDate)
The date that the slot type was created.
|
void |
setDescription(String description)
A description of the slot type.
|
void |
setEnumerationValues(Collection<EnumerationValue> enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date that the slot type was updated.
|
void |
setName(String name)
The name of the slot type.
|
void |
setParentSlotTypeSignature(String parentSlotTypeSignature)
The built-in slot type used as a parent for the slot type.
|
void |
setSlotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations)
Configuration information that extends the parent built-in slot type.
|
void |
setValueSelectionStrategy(String valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot.
|
void |
setVersion(String version)
The version of the slot type.
|
String |
toString()
Returns a string representation of this object.
|
GetSlotTypeResult |
withChecksum(String checksum)
Checksum of the
$LATEST version of the slot type. |
GetSlotTypeResult |
withCreatedDate(Date createdDate)
The date that the slot type was created.
|
GetSlotTypeResult |
withDescription(String description)
A description of the slot type.
|
GetSlotTypeResult |
withEnumerationValues(Collection<EnumerationValue> enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
GetSlotTypeResult |
withEnumerationValues(EnumerationValue... enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
GetSlotTypeResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the slot type was updated.
|
GetSlotTypeResult |
withName(String name)
The name of the slot type.
|
GetSlotTypeResult |
withParentSlotTypeSignature(String parentSlotTypeSignature)
The built-in slot type used as a parent for the slot type.
|
GetSlotTypeResult |
withSlotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations)
Configuration information that extends the parent built-in slot type.
|
GetSlotTypeResult |
withSlotTypeConfigurations(SlotTypeConfiguration... slotTypeConfigurations)
Configuration information that extends the parent built-in slot type.
|
GetSlotTypeResult |
withValueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot.
|
GetSlotTypeResult |
withValueSelectionStrategy(String valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot.
|
GetSlotTypeResult |
withVersion(String version)
The version of the slot type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the slot type.
name
- The name of the slot type.public String getName()
The name of the slot type.
public GetSlotTypeResult withName(String name)
The name of the slot type.
name
- The name of the slot type.public void setDescription(String description)
A description of the slot type.
description
- A description of the slot type.public String getDescription()
A description of the slot type.
public GetSlotTypeResult withDescription(String description)
A description of the slot type.
description
- A description of the slot type.public List<EnumerationValue> getEnumerationValues()
A list of EnumerationValue
objects that defines the values that the slot type can take.
EnumerationValue
objects that defines the values that the slot type can take.public void setEnumerationValues(Collection<EnumerationValue> enumerationValues)
A list of EnumerationValue
objects that defines the values that the slot type can take.
enumerationValues
- A list of EnumerationValue
objects that defines the values that the slot type can take.public GetSlotTypeResult withEnumerationValues(EnumerationValue... enumerationValues)
A list of EnumerationValue
objects that defines the values that the slot type can take.
NOTE: This method appends the values to the existing list (if any). Use
setEnumerationValues(java.util.Collection)
or withEnumerationValues(java.util.Collection)
if
you want to override the existing values.
enumerationValues
- A list of EnumerationValue
objects that defines the values that the slot type can take.public GetSlotTypeResult withEnumerationValues(Collection<EnumerationValue> enumerationValues)
A list of EnumerationValue
objects that defines the values that the slot type can take.
enumerationValues
- A list of EnumerationValue
objects that defines the values that the slot type can take.public void setLastUpdatedDate(Date lastUpdatedDate)
The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.
lastUpdatedDate
- The date that the slot type was updated. When you create a resource, the creation date and last update
date are the same.public Date getLastUpdatedDate()
The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.
public GetSlotTypeResult withLastUpdatedDate(Date lastUpdatedDate)
The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.
lastUpdatedDate
- The date that the slot type was updated. When you create a resource, the creation date and last update
date are the same.public void setCreatedDate(Date createdDate)
The date that the slot type was created.
createdDate
- The date that the slot type was created.public Date getCreatedDate()
The date that the slot type was created.
public GetSlotTypeResult withCreatedDate(Date createdDate)
The date that the slot type was created.
createdDate
- The date that the slot type was created.public void setVersion(String version)
The version of the slot type.
version
- The version of the slot type.public String getVersion()
The version of the slot type.
public GetSlotTypeResult withVersion(String version)
The version of the slot type.
version
- The version of the slot type.public void setChecksum(String checksum)
Checksum of the $LATEST
version of the slot type.
checksum
- Checksum of the $LATEST
version of the slot type.public String getChecksum()
Checksum of the $LATEST
version of the slot type.
$LATEST
version of the slot type.public GetSlotTypeResult withChecksum(String checksum)
Checksum of the $LATEST
version of the slot type.
checksum
- Checksum of the $LATEST
version of the slot type.public void setValueSelectionStrategy(String valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The strategy that Amazon Lex uses to determine the value of the slot. For more information, see
PutSlotType.SlotValueSelectionStrategy
public String getValueSelectionStrategy()
The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
SlotValueSelectionStrategy
public GetSlotTypeResult withValueSelectionStrategy(String valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The strategy that Amazon Lex uses to determine the value of the slot. For more information, see
PutSlotType.SlotValueSelectionStrategy
public GetSlotTypeResult withValueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The strategy that Amazon Lex uses to determine the value of the slot. For more information, see
PutSlotType.SlotValueSelectionStrategy
public void setParentSlotTypeSignature(String parentSlotTypeSignature)
The built-in slot type used as a parent for the slot type.
parentSlotTypeSignature
- The built-in slot type used as a parent for the slot type.public String getParentSlotTypeSignature()
The built-in slot type used as a parent for the slot type.
public GetSlotTypeResult withParentSlotTypeSignature(String parentSlotTypeSignature)
The built-in slot type used as a parent for the slot type.
parentSlotTypeSignature
- The built-in slot type used as a parent for the slot type.public List<SlotTypeConfiguration> getSlotTypeConfigurations()
Configuration information that extends the parent built-in slot type.
public void setSlotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations)
Configuration information that extends the parent built-in slot type.
slotTypeConfigurations
- Configuration information that extends the parent built-in slot type.public GetSlotTypeResult withSlotTypeConfigurations(SlotTypeConfiguration... slotTypeConfigurations)
Configuration information that extends the parent built-in slot type.
NOTE: This method appends the values to the existing list (if any). Use
setSlotTypeConfigurations(java.util.Collection)
or
withSlotTypeConfigurations(java.util.Collection)
if you want to override the existing values.
slotTypeConfigurations
- Configuration information that extends the parent built-in slot type.public GetSlotTypeResult withSlotTypeConfigurations(Collection<SlotTypeConfiguration> slotTypeConfigurations)
Configuration information that extends the parent built-in slot type.
slotTypeConfigurations
- Configuration information that extends the parent built-in slot type.public String toString()
toString
in class Object
Object.toString()
public GetSlotTypeResult clone()