@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailWord extends Object implements Serializable, Cloneable, StructuredPojo
A word configured for the guardrail.
| Constructor and Description |
|---|
GuardrailWord() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailWord |
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.
|
GuardrailWord |
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 GuardrailWord 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 GuardrailWord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.