@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptTemplateConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains the message for a prompt. For more information, see Prompt management in Amazon Bedrock.
| Constructor and Description |
|---|
PromptTemplateConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
PromptTemplateConfiguration |
clone() |
boolean |
equals(Object obj) |
TextPromptTemplateConfiguration |
getText()
Contains configurations for the text in a message for a prompt.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setText(TextPromptTemplateConfiguration text)
Contains configurations for the text in a message for a prompt.
|
String |
toString()
Returns a string representation of this object.
|
PromptTemplateConfiguration |
withText(TextPromptTemplateConfiguration text)
Contains configurations for the text in a message for a prompt.
|
public void setText(TextPromptTemplateConfiguration text)
Contains configurations for the text in a message for a prompt.
text - Contains configurations for the text in a message for a prompt.public TextPromptTemplateConfiguration getText()
Contains configurations for the text in a message for a prompt.
public PromptTemplateConfiguration withText(TextPromptTemplateConfiguration text)
Contains configurations for the text in a message for a prompt.
text - Contains configurations for the text in a message for a prompt.public String toString()
toString in class ObjectObject.toString()public PromptTemplateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.