Interface GuardrailTopicPolicyAssessment.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailTopicPolicyAssessment.Builder,GuardrailTopicPolicyAssessment>
,SdkBuilder<GuardrailTopicPolicyAssessment.Builder,GuardrailTopicPolicyAssessment>
,SdkPojo
- Enclosing class:
- GuardrailTopicPolicyAssessment
public static interface GuardrailTopicPolicyAssessment.Builder extends SdkPojo, CopyableBuilder<GuardrailTopicPolicyAssessment.Builder,GuardrailTopicPolicyAssessment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GuardrailTopicPolicyAssessment.Builder
topics(Collection<GuardrailTopic> topics)
The topics in the assessment.GuardrailTopicPolicyAssessment.Builder
topics(Consumer<GuardrailTopic.Builder>... topics)
The topics in the assessment.GuardrailTopicPolicyAssessment.Builder
topics(GuardrailTopic... topics)
The topics 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, sdkFields
-
-
-
-
Method Detail
-
topics
GuardrailTopicPolicyAssessment.Builder topics(Collection<GuardrailTopic> topics)
The 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.
-
topics
GuardrailTopicPolicyAssessment.Builder topics(GuardrailTopic... topics)
The 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.
-
topics
GuardrailTopicPolicyAssessment.Builder topics(Consumer<GuardrailTopic.Builder>... topics)
The topics in the assessment.
This is a convenience method that creates an instance of theGuardrailTopic.Builder
avoiding the need to create one manually viaGuardrailTopic.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#topics(List
.) - Parameters:
topics
- a consumer that will call methods onGuardrailTopic.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#topics(java.util.Collection
)
-
-