Interface GuardrailTopicPolicyAssessment.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GuardrailTopicPolicyAssessment.Builder,,- GuardrailTopicPolicyAssessment> - SdkBuilder<GuardrailTopicPolicyAssessment.Builder,,- GuardrailTopicPolicyAssessment> - SdkPojo
- Enclosing class:
- GuardrailTopicPolicyAssessment
@Mutable
@NotThreadSafe
public static interface GuardrailTopicPolicyAssessment.Builder
extends SdkPojo, CopyableBuilder<GuardrailTopicPolicyAssessment.Builder,GuardrailTopicPolicyAssessment> 
- 
Method SummaryModifier and TypeMethodDescriptiontopics(Collection<GuardrailTopic> topics) The topics in the assessment.topics(Consumer<GuardrailTopic.Builder>... topics) The topics in the assessment.topics(GuardrailTopic... topics) The topics 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- 
topicsThe topics in the assessment. - Parameters:
- topics- The topics in the assessment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
topicsThe topics in the assessment. - Parameters:
- topics- The topics in the assessment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
topicsThe topics in the assessment. This is a convenience method that creates an instance of theGuardrailTopic.Builderavoiding the need to create one manually viaGuardrailTopic.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopics(List<GuardrailTopic>).- Parameters:
- topics- a consumer that will call methods on- GuardrailTopic.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-