@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptInputVariable extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a variable in the prompt.
Constructor and Description |
---|
PromptInputVariable() |
Modifier and Type | Method and Description |
---|---|
PromptInputVariable |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the variable.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the variable.
|
String |
toString()
Returns a string representation of this object.
|
PromptInputVariable |
withName(String name)
The name of the variable.
|
public void setName(String name)
The name of the variable.
name
- The name of the variable.public String getName()
The name of the variable.
public PromptInputVariable withName(String name)
The name of the variable.
name
- The name of the variable.public String toString()
toString
in class Object
Object.toString()
public PromptInputVariable clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.