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 SummaryModifier and TypeMethodDescriptioncustomWords(Collection<GuardrailCustomWord> customWords) Custom words in the assessment.customWords(Consumer<GuardrailCustomWord.Builder>... customWords) Custom words in the assessment.customWords(GuardrailCustomWord... customWords) Custom words in the assessment.managedWordLists(Collection<GuardrailManagedWord> managedWordLists) Managed word lists in the assessment.managedWordLists(Consumer<GuardrailManagedWord.Builder>... managedWordLists) Managed word lists in the assessment.managedWordLists(GuardrailManagedWord... managedWordLists) Managed word lists in the assessment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
customWordsCustom 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.
 
- 
customWordsCustom 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.
 
- 
customWordsGuardrailWordPolicyAssessment.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 tocustomWords(List<GuardrailCustomWord>).- Parameters:
- customWords- a consumer that will call methods on- GuardrailCustomWord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
managedWordListsGuardrailWordPolicyAssessment.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.
 
- 
managedWordListsManaged 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.
 
- 
managedWordListsGuardrailWordPolicyAssessment.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 tomanagedWordLists(List<GuardrailManagedWord>).- Parameters:
- managedWordLists- a consumer that will call methods on- GuardrailManagedWord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-