@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrammarSlotTypeSetting extends Object implements Serializable, Cloneable, StructuredPojo
Settings requried for a slot type based on a grammar that you provide.
Constructor and Description |
---|
GrammarSlotTypeSetting() |
Modifier and Type | Method and Description |
---|---|
GrammarSlotTypeSetting |
clone() |
boolean |
equals(Object obj) |
GrammarSlotTypeSource |
getSource()
The source of the grammar used to create the slot type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSource(GrammarSlotTypeSource source)
The source of the grammar used to create the slot type.
|
String |
toString()
Returns a string representation of this object.
|
GrammarSlotTypeSetting |
withSource(GrammarSlotTypeSource source)
The source of the grammar used to create the slot type.
|
public void setSource(GrammarSlotTypeSource source)
The source of the grammar used to create the slot type.
source
- The source of the grammar used to create the slot type.public GrammarSlotTypeSource getSource()
The source of the grammar used to create the slot type.
public GrammarSlotTypeSetting withSource(GrammarSlotTypeSource source)
The source of the grammar used to create the slot type.
source
- The source of the grammar used to create the slot type.public String toString()
toString
in class Object
Object.toString()
public GrammarSlotTypeSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.