@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SystemContentBlock extends Object implements Serializable, Cloneable, StructuredPojo
A system content block
| Constructor and Description |
|---|
SystemContentBlock() |
| Modifier and Type | Method and Description |
|---|---|
SystemContentBlock |
clone() |
boolean |
equals(Object obj) |
String |
getText()
A system prompt for the model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setText(String text)
A system prompt for the model.
|
String |
toString()
Returns a string representation of this object.
|
SystemContentBlock |
withText(String text)
A system prompt for the model.
|
public void setText(String text)
A system prompt for the model.
text - A system prompt for the model.public String getText()
A system prompt for the model.
public SystemContentBlock withText(String text)
A system prompt for the model.
text - A system prompt for the model.public String toString()
toString in class ObjectObject.toString()public SystemContentBlock clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.