Interface AIGuardrailVersionSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AIGuardrailVersionSummary.Builder,
,AIGuardrailVersionSummary> SdkBuilder<AIGuardrailVersionSummary.Builder,
,AIGuardrailVersionSummary> SdkPojo
- Enclosing class:
AIGuardrailVersionSummary
@Mutable
@NotThreadSafe
public static interface AIGuardrailVersionSummary.Builder
extends SdkPojo, CopyableBuilder<AIGuardrailVersionSummary.Builder,AIGuardrailVersionSummary>
-
Method Summary
Modifier and TypeMethodDescriptionaiGuardrailSummary
(Consumer<AIGuardrailSummary.Builder> aiGuardrailSummary) The data for the summary of the AI Guardrail version.aiGuardrailSummary
(AIGuardrailSummary aiGuardrailSummary) The data for the summary of the AI Guardrail version.versionNumber
(Long versionNumber) The version number for this AI Guardrail version.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
-
aiGuardrailSummary
The data for the summary of the AI Guardrail version.
- Parameters:
aiGuardrailSummary
- The data for the summary of the AI Guardrail version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiGuardrailSummary
default AIGuardrailVersionSummary.Builder aiGuardrailSummary(Consumer<AIGuardrailSummary.Builder> aiGuardrailSummary) The data for the summary of the AI Guardrail version.
This is a convenience method that creates an instance of theAIGuardrailSummary.Builder
avoiding the need to create one manually viaAIGuardrailSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaiGuardrailSummary(AIGuardrailSummary)
.- Parameters:
aiGuardrailSummary
- a consumer that will call methods onAIGuardrailSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
versionNumber
The version number for this AI Guardrail version.
- Parameters:
versionNumber
- The version number for this AI Guardrail version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-