Interface GuardrailTrace.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GuardrailTrace.Builder,,- GuardrailTrace> - SdkBuilder<GuardrailTrace.Builder,,- GuardrailTrace> - SdkPojo
- Enclosing class:
- GuardrailTrace
- 
Method SummaryModifier and TypeMethodDescriptionThe trace action details used with the Guardrail.action(GuardrailAction action) The trace action details used with the Guardrail.inputAssessments(Collection<GuardrailAssessment> inputAssessments) The details of the input assessments used in the Guardrail Trace.inputAssessments(Consumer<GuardrailAssessment.Builder>... inputAssessments) The details of the input assessments used in the Guardrail Trace.inputAssessments(GuardrailAssessment... inputAssessments) The details of the input assessments used in the Guardrail Trace.default GuardrailTrace.Buildermetadata(Consumer<Metadata.Builder> metadata) Contains information about the Guardrail output.Contains information about the Guardrail output.outputAssessments(Collection<GuardrailAssessment> outputAssessments) The details of the output assessments used in the Guardrail Trace.outputAssessments(Consumer<GuardrailAssessment.Builder>... outputAssessments) The details of the output assessments used in the Guardrail Trace.outputAssessments(GuardrailAssessment... outputAssessments) The details of the output assessments used in the Guardrail Trace.The details of the trace Id used in the Guardrail Trace.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- 
actionThe trace action details used with the Guardrail. - Parameters:
- action- The trace action details used with the Guardrail.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
actionThe trace action details used with the Guardrail. - Parameters:
- action- The trace action details used with the Guardrail.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
traceIdThe details of the trace Id used in the Guardrail Trace. - Parameters:
- traceId- The details of the trace Id used in the Guardrail Trace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
inputAssessmentsThe details of the input assessments used in the Guardrail Trace. - Parameters:
- inputAssessments- The details of the input assessments used in the Guardrail Trace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
inputAssessmentsThe details of the input assessments used in the Guardrail Trace. - Parameters:
- inputAssessments- The details of the input assessments used in the Guardrail Trace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
inputAssessmentsThe details of the input assessments used in the Guardrail Trace. This is a convenience method that creates an instance of theGuardrailAssessment.Builderavoiding the need to create one manually viaGuardrailAssessment.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputAssessments(List<GuardrailAssessment>).- Parameters:
- inputAssessments- a consumer that will call methods on- GuardrailAssessment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
outputAssessmentsThe details of the output assessments used in the Guardrail Trace. - Parameters:
- outputAssessments- The details of the output assessments used in the Guardrail Trace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
outputAssessmentsThe details of the output assessments used in the Guardrail Trace. - Parameters:
- outputAssessments- The details of the output assessments used in the Guardrail Trace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
outputAssessmentsGuardrailTrace.Builder outputAssessments(Consumer<GuardrailAssessment.Builder>... outputAssessments) The details of the output assessments used in the Guardrail Trace. This is a convenience method that creates an instance of theGuardrailAssessment.Builderavoiding the need to create one manually viaGuardrailAssessment.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputAssessments(List<GuardrailAssessment>).- Parameters:
- outputAssessments- a consumer that will call methods on- GuardrailAssessment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
metadataContains information about the Guardrail output. - Parameters:
- metadata- Contains information about the Guardrail output.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
metadataContains information about the Guardrail output. This is a convenience method that creates an instance of theMetadata.Builderavoiding the need to create one manually viaMetadata.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(Metadata).- Parameters:
- metadata- a consumer that will call methods on- Metadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-