Interface ConverseTrace.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ConverseTrace.Builder,ConverseTrace>
,SdkBuilder<ConverseTrace.Builder,ConverseTrace>
,SdkPojo
- Enclosing class:
- ConverseTrace
public static interface ConverseTrace.Builder extends SdkPojo, CopyableBuilder<ConverseTrace.Builder,ConverseTrace>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConverseTrace.Builder
guardrail(Consumer<GuardrailTraceAssessment.Builder> guardrail)
The guardrail trace object.ConverseTrace.Builder
guardrail(GuardrailTraceAssessment guardrail)
The guardrail trace object.-
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
-
guardrail
ConverseTrace.Builder guardrail(GuardrailTraceAssessment guardrail)
The guardrail trace object.
- Parameters:
guardrail
- The guardrail trace object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrail
default ConverseTrace.Builder guardrail(Consumer<GuardrailTraceAssessment.Builder> guardrail)
The guardrail trace object.
This is a convenience method that creates an instance of theGuardrailTraceAssessment.Builder
avoiding the need to create one manually viaGuardrailTraceAssessment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toguardrail(GuardrailTraceAssessment)
.- Parameters:
guardrail
- a consumer that will call methods onGuardrailTraceAssessment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
guardrail(GuardrailTraceAssessment)
-
-