Interface GuardrailWordPolicyAssessment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailWordPolicyAssessment.Builder,GuardrailWordPolicyAssessment>,SdkBuilder<GuardrailWordPolicyAssessment.Builder,GuardrailWordPolicyAssessment>,SdkPojo
- Enclosing class:
- GuardrailWordPolicyAssessment
@Mutable @NotThreadSafe public static interface GuardrailWordPolicyAssessment.Builder extends SdkPojo, CopyableBuilder<GuardrailWordPolicyAssessment.Builder,GuardrailWordPolicyAssessment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailWordPolicyAssessment.BuildercustomWords(Collection<GuardrailCustomWord> customWords)Custom words in the assessment.GuardrailWordPolicyAssessment.BuildercustomWords(Consumer<GuardrailCustomWord.Builder>... customWords)Custom words in the assessment.GuardrailWordPolicyAssessment.BuildercustomWords(GuardrailCustomWord... customWords)Custom words in the assessment.GuardrailWordPolicyAssessment.BuildermanagedWordLists(Collection<GuardrailManagedWord> managedWordLists)Managed word lists in the assessment.GuardrailWordPolicyAssessment.BuildermanagedWordLists(Consumer<GuardrailManagedWord.Builder>... managedWordLists)Managed word lists in the assessment.GuardrailWordPolicyAssessment.BuildermanagedWordLists(GuardrailManagedWord... managedWordLists)Managed word lists in the assessment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
customWords
GuardrailWordPolicyAssessment.Builder customWords(Collection<GuardrailCustomWord> customWords)
Custom words in the assessment.
- Parameters:
customWords- Custom words in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customWords
GuardrailWordPolicyAssessment.Builder customWords(GuardrailCustomWord... customWords)
Custom words in the assessment.
- Parameters:
customWords- Custom words in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customWords
GuardrailWordPolicyAssessment.Builder customWords(Consumer<GuardrailCustomWord.Builder>... customWords)
Custom words in the assessment.
This is a convenience method that creates an instance of theGuardrailCustomWord.Builderavoiding the need to create one manually viaGuardrailCustomWord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customWords(List.) - Parameters:
customWords- a consumer that will call methods onGuardrailCustomWord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customWords(java.util.Collection)
-
managedWordLists
GuardrailWordPolicyAssessment.Builder managedWordLists(Collection<GuardrailManagedWord> managedWordLists)
Managed word lists in the assessment.
- Parameters:
managedWordLists- Managed word lists in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedWordLists
GuardrailWordPolicyAssessment.Builder managedWordLists(GuardrailManagedWord... managedWordLists)
Managed word lists in the assessment.
- Parameters:
managedWordLists- Managed word lists in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedWordLists
GuardrailWordPolicyAssessment.Builder managedWordLists(Consumer<GuardrailManagedWord.Builder>... managedWordLists)
Managed word lists in the assessment.
This is a convenience method that creates an instance of theGuardrailManagedWord.Builderavoiding the need to create one manually viaGuardrailManagedWord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#managedWordLists(List.) - Parameters:
managedWordLists- a consumer that will call methods onGuardrailManagedWord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#managedWordLists(java.util.Collection)
-
-