Interface AIRecommendationAdapterDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AIRecommendationAdapterDetails.Builder,,AIRecommendationAdapterDetails> SdkBuilder<AIRecommendationAdapterDetails.Builder,,AIRecommendationAdapterDetails> SdkPojo
- Enclosing class:
AIRecommendationAdapterDetails
@Mutable
@NotThreadSafe
public static interface AIRecommendationAdapterDetails.Builder
extends SdkPojo, CopyableBuilder<AIRecommendationAdapterDetails.Builder,AIRecommendationAdapterDetails>
-
Method Summary
Modifier and TypeMethodDescriptionmodelPackageArns(Collection<AIAdapterModelPackageEntry> modelPackageArns) The list of LoRA adapters with their model package ARNs.modelPackageArns(Consumer<AIAdapterModelPackageEntry.Builder>... modelPackageArns) The list of LoRA adapters with their model package ARNs.modelPackageArns(AIAdapterModelPackageEntry... modelPackageArns) The list of LoRA adapters with their model package ARNs.s3Uris(Collection<AIAdapterS3Entry> s3Uris) The list of LoRA adapters with their Amazon S3 URIs.s3Uris(Consumer<AIAdapterS3Entry.Builder>... s3Uris) The list of LoRA adapters with their Amazon S3 URIs.s3Uris(AIAdapterS3Entry... s3Uris) The list of LoRA adapters with their Amazon S3 URIs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
modelPackageArns
AIRecommendationAdapterDetails.Builder modelPackageArns(Collection<AIAdapterModelPackageEntry> modelPackageArns) The list of LoRA adapters with their model package ARNs.
- Parameters:
modelPackageArns- The list of LoRA adapters with their model package ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageArns
AIRecommendationAdapterDetails.Builder modelPackageArns(AIAdapterModelPackageEntry... modelPackageArns) The list of LoRA adapters with their model package ARNs.
- Parameters:
modelPackageArns- The list of LoRA adapters with their model package ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageArns
AIRecommendationAdapterDetails.Builder modelPackageArns(Consumer<AIAdapterModelPackageEntry.Builder>... modelPackageArns) The list of LoRA adapters with their model package ARNs.
This is a convenience method that creates an instance of theAIAdapterModelPackageEntry.Builderavoiding the need to create one manually viaAIAdapterModelPackageEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelPackageArns(List<AIAdapterModelPackageEntry>).- Parameters:
modelPackageArns- a consumer that will call methods onAIAdapterModelPackageEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Uris
The list of LoRA adapters with their Amazon S3 URIs.
- Parameters:
s3Uris- The list of LoRA adapters with their Amazon S3 URIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Uris
The list of LoRA adapters with their Amazon S3 URIs.
- Parameters:
s3Uris- The list of LoRA adapters with their Amazon S3 URIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Uris
The list of LoRA adapters with their Amazon S3 URIs.
This is a convenience method that creates an instance of theAIAdapterS3Entry.Builderavoiding the need to create one manually viaAIAdapterS3Entry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Uris(List<AIAdapterS3Entry>).- Parameters:
s3Uris- a consumer that will call methods onAIAdapterS3Entry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-