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 Summary
Modifier and TypeMethodDescriptiontopics
(Collection<GuardrailTopic> topics) The topic details of the policy assessment used in the Guardrail.topics
(Consumer<GuardrailTopic.Builder>... topics) The topic details of the policy assessment used in the Guardrail.topics
(GuardrailTopic... topics) The topic details of the policy assessment used in the Guardrail.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 Details
-
topics
The topic details of the policy assessment used in the Guardrail.
- Parameters:
topics
- The topic details of the policy assessment used in the Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
The topic details of the policy assessment used in the Guardrail.
- Parameters:
topics
- The topic details of the policy assessment used in the Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
The topic details of the policy assessment used in the Guardrail.
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 totopics(List<GuardrailTopic>)
.- 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:
-