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