@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailManagedWord extends Object implements Serializable, Cloneable, StructuredPojo
A managed word configured in a guardrail.
| Constructor and Description |
|---|
GuardrailManagedWord() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailManagedWord |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action for the managed word.
|
String |
getMatch()
The match for the managed word.
|
String |
getType()
The type for the managed word.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
The action for the managed word.
|
void |
setMatch(String match)
The match for the managed word.
|
void |
setType(String type)
The type for the managed word.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailManagedWord |
withAction(GuardrailWordPolicyAction action)
The action for the managed word.
|
GuardrailManagedWord |
withAction(String action)
The action for the managed word.
|
GuardrailManagedWord |
withMatch(String match)
The match for the managed word.
|
GuardrailManagedWord |
withType(GuardrailManagedWordType type)
The type for the managed word.
|
GuardrailManagedWord |
withType(String type)
The type for the managed word.
|
public void setMatch(String match)
The match for the managed word.
match - The match for the managed word.public String getMatch()
The match for the managed word.
public GuardrailManagedWord withMatch(String match)
The match for the managed word.
match - The match for the managed word.public void setType(String type)
The type for the managed word.
type - The type for the managed word.GuardrailManagedWordTypepublic String getType()
The type for the managed word.
GuardrailManagedWordTypepublic GuardrailManagedWord withType(String type)
The type for the managed word.
type - The type for the managed word.GuardrailManagedWordTypepublic GuardrailManagedWord withType(GuardrailManagedWordType type)
The type for the managed word.
type - The type for the managed word.GuardrailManagedWordTypepublic void setAction(String action)
The action for the managed word.
action - The action for the managed word.GuardrailWordPolicyActionpublic String getAction()
The action for the managed word.
GuardrailWordPolicyActionpublic GuardrailManagedWord withAction(String action)
The action for the managed word.
action - The action for the managed word.GuardrailWordPolicyActionpublic GuardrailManagedWord withAction(GuardrailWordPolicyAction action)
The action for the managed word.
action - The action for the managed word.GuardrailWordPolicyActionpublic String toString()
toString in class ObjectObject.toString()public GuardrailManagedWord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.