@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutSlotTypeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutSlotTypeResult() |
Modifier and Type | Method and Description |
---|---|
PutSlotTypeResult |
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 |
getValueSelectionStrategy()
The slot resolution 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 |
setValueSelectionStrategy(String valueSelectionStrategy)
The slot resolution 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; useful for testing and debugging.
|
PutSlotTypeResult |
withChecksum(String checksum)
Checksum of the
$LATEST version of the slot type. |
PutSlotTypeResult |
withCreatedDate(Date createdDate)
The date that the slot type was created.
|
PutSlotTypeResult |
withDescription(String description)
A description of the slot type.
|
PutSlotTypeResult |
withEnumerationValues(Collection<EnumerationValue> enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
PutSlotTypeResult |
withEnumerationValues(EnumerationValue... enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
PutSlotTypeResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the slot type was updated.
|
PutSlotTypeResult |
withName(String name)
The name of the slot type.
|
PutSlotTypeResult |
withValueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot.
|
PutSlotTypeResult |
withValueSelectionStrategy(String valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot.
|
PutSlotTypeResult |
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 PutSlotTypeResult 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 PutSlotTypeResult 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 PutSlotTypeResult 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 PutSlotTypeResult 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 slot type, the creation date and last update date are the same.
lastUpdatedDate
- The date that the slot type was updated. When you create a slot type, 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 slot type, the creation date and last update date are the same.
public PutSlotTypeResult withLastUpdatedDate(Date lastUpdatedDate)
The date that the slot type was updated. When you create a slot type, the creation date and last update date are the same.
lastUpdatedDate
- The date that the slot type was updated. When you create a slot type, 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 PutSlotTypeResult 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. For a new slot type, the version is always $LATEST
.
version
- The version of the slot type. For a new slot type, the version is always $LATEST
.public String getVersion()
The version of the slot type. For a new slot type, the version is always $LATEST
.
$LATEST
.public PutSlotTypeResult withVersion(String version)
The version of the slot type. For a new slot type, the version is always $LATEST
.
version
- The version of the slot type. For a new slot type, the version is always $LATEST
.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 PutSlotTypeResult 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 slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more
information, see PutSlotType.SlotValueSelectionStrategy
public String getValueSelectionStrategy()
The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
SlotValueSelectionStrategy
public PutSlotTypeResult withValueSelectionStrategy(String valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more
information, see PutSlotType.SlotValueSelectionStrategy
public PutSlotTypeResult withValueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more
information, see PutSlotType.SlotValueSelectionStrategy
public String toString()
toString
in class Object
Object.toString()
public PutSlotTypeResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.