@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputContext extends Object implements Serializable, Cloneable, StructuredPojo
A context that must be active for an intent to be selected by Amazon Lex.
Constructor and Description |
---|
InputContext() |
Modifier and Type | Method and Description |
---|---|
InputContext |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the context.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the context.
|
String |
toString()
Returns a string representation of this object.
|
InputContext |
withName(String name)
The name of the context.
|
public void setName(String name)
The name of the context.
name
- The name of the context.public String getName()
The name of the context.
public InputContext withName(String name)
The name of the context.
name
- The name of the context.public String toString()
toString
in class Object
Object.toString()
public InputContext clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.