@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public GuardrailWordConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.