@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotDefaultValue extends Object implements Serializable, Cloneable, StructuredPojo
A default value for a slot.
| Constructor and Description |
|---|
SlotDefaultValue() |
| Modifier and Type | Method and Description |
|---|---|
SlotDefaultValue |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultValue()
The default value for the slot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDefaultValue(String defaultValue)
The default value for the slot.
|
String |
toString()
Returns a string representation of this object.
|
SlotDefaultValue |
withDefaultValue(String defaultValue)
The default value for the slot.
|
public void setDefaultValue(String defaultValue)
The default value for the slot. You can specify one of the following:
#context-name.slot-name - The slot value "slot-name" in the context "context-name."
{attribute} - The slot value of the session attribute "attribute."
'value' - The discrete value "value."
defaultValue - The default value for the slot. You can specify one of the following:
#context-name.slot-name - The slot value "slot-name" in the context "context-name."
{attribute} - The slot value of the session attribute "attribute."
'value' - The discrete value "value."
public String getDefaultValue()
The default value for the slot. You can specify one of the following:
#context-name.slot-name - The slot value "slot-name" in the context "context-name."
{attribute} - The slot value of the session attribute "attribute."
'value' - The discrete value "value."
#context-name.slot-name - The slot value "slot-name" in the context "context-name."
{attribute} - The slot value of the session attribute "attribute."
'value' - The discrete value "value."
public SlotDefaultValue withDefaultValue(String defaultValue)
The default value for the slot. You can specify one of the following:
#context-name.slot-name - The slot value "slot-name" in the context "context-name."
{attribute} - The slot value of the session attribute "attribute."
'value' - The discrete value "value."
defaultValue - The default value for the slot. You can specify one of the following:
#context-name.slot-name - The slot value "slot-name" in the context "context-name."
{attribute} - The slot value of the session attribute "attribute."
'value' - The discrete value "value."
public String toString()
toString in class ObjectObject.toString()public SlotDefaultValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.