Interface AIPromptVersionSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AIPromptVersionSummary.Builder,
,AIPromptVersionSummary> SdkBuilder<AIPromptVersionSummary.Builder,
,AIPromptVersionSummary> SdkPojo
- Enclosing class:
AIPromptVersionSummary
@Mutable
@NotThreadSafe
public static interface AIPromptVersionSummary.Builder
extends SdkPojo, CopyableBuilder<AIPromptVersionSummary.Builder,AIPromptVersionSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AIPromptVersionSummary.Builder
aiPromptSummary
(Consumer<AIPromptSummary.Builder> aiPromptSummary) The date for the summary of the AI Prompt version.aiPromptSummary
(AIPromptSummary aiPromptSummary) The date for the summary of the AI Prompt version.versionNumber
(Long versionNumber) The version number for this AI Prompt 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
-
aiPromptSummary
The date for the summary of the AI Prompt version.
- Parameters:
aiPromptSummary
- The date for the summary of the AI Prompt version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiPromptSummary
default AIPromptVersionSummary.Builder aiPromptSummary(Consumer<AIPromptSummary.Builder> aiPromptSummary) The date for the summary of the AI Prompt version.
This is a convenience method that creates an instance of theAIPromptSummary.Builder
avoiding the need to create one manually viaAIPromptSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaiPromptSummary(AIPromptSummary)
.- Parameters:
aiPromptSummary
- a consumer that will call methods onAIPromptSummary.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 Prompt version.
- Parameters:
versionNumber
- The version number for this AI Prompt version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-