@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GuardrailWordPolicyAssessment extends Object implements Serializable, Cloneable, StructuredPojo
The word policy assessment.
| Constructor and Description |
|---|
GuardrailWordPolicyAssessment() |
| Modifier and Type | Method and Description |
|---|---|
GuardrailWordPolicyAssessment |
clone() |
boolean |
equals(Object obj) |
List<GuardrailCustomWord> |
getCustomWords()
Custom words in the assessment.
|
List<GuardrailManagedWord> |
getManagedWordLists()
Managed word lists in the assessment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCustomWords(Collection<GuardrailCustomWord> customWords)
Custom words in the assessment.
|
void |
setManagedWordLists(Collection<GuardrailManagedWord> managedWordLists)
Managed word lists in the assessment.
|
String |
toString()
Returns a string representation of this object.
|
GuardrailWordPolicyAssessment |
withCustomWords(Collection<GuardrailCustomWord> customWords)
Custom words in the assessment.
|
GuardrailWordPolicyAssessment |
withCustomWords(GuardrailCustomWord... customWords)
Custom words in the assessment.
|
GuardrailWordPolicyAssessment |
withManagedWordLists(Collection<GuardrailManagedWord> managedWordLists)
Managed word lists in the assessment.
|
GuardrailWordPolicyAssessment |
withManagedWordLists(GuardrailManagedWord... managedWordLists)
Managed word lists in the assessment.
|
public List<GuardrailCustomWord> getCustomWords()
Custom words in the assessment.
public void setCustomWords(Collection<GuardrailCustomWord> customWords)
Custom words in the assessment.
customWords - Custom words in the assessment.public GuardrailWordPolicyAssessment withCustomWords(GuardrailCustomWord... customWords)
Custom words in the assessment.
NOTE: This method appends the values to the existing list (if any). Use
setCustomWords(java.util.Collection) or withCustomWords(java.util.Collection) if you want to
override the existing values.
customWords - Custom words in the assessment.public GuardrailWordPolicyAssessment withCustomWords(Collection<GuardrailCustomWord> customWords)
Custom words in the assessment.
customWords - Custom words in the assessment.public List<GuardrailManagedWord> getManagedWordLists()
Managed word lists in the assessment.
public void setManagedWordLists(Collection<GuardrailManagedWord> managedWordLists)
Managed word lists in the assessment.
managedWordLists - Managed word lists in the assessment.public GuardrailWordPolicyAssessment withManagedWordLists(GuardrailManagedWord... managedWordLists)
Managed word lists in the assessment.
NOTE: This method appends the values to the existing list (if any). Use
setManagedWordLists(java.util.Collection) or withManagedWordLists(java.util.Collection) if you
want to override the existing values.
managedWordLists - Managed word lists in the assessment.public GuardrailWordPolicyAssessment withManagedWordLists(Collection<GuardrailManagedWord> managedWordLists)
Managed word lists in the assessment.
managedWordLists - Managed word lists in the assessment.public String toString()
toString in class ObjectObject.toString()public GuardrailWordPolicyAssessment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.