Interface AIAdapterSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AIAdapterSource.Builder,,AIAdapterSource> SdkBuilder<AIAdapterSource.Builder,,AIAdapterSource> SdkPojo
- Enclosing class:
AIAdapterSource
-
Method Summary
Modifier and TypeMethodDescriptionmodelPackageArns(Collection<AIAdapterModelPackageEntry> modelPackageArns) A list of LoRA adapters identified by their model package ARNs.modelPackageArns(Consumer<AIAdapterModelPackageEntry.Builder>... modelPackageArns) A list of LoRA adapters identified by their model package ARNs.modelPackageArns(AIAdapterModelPackageEntry... modelPackageArns) A list of LoRA adapters identified by their model package ARNs.s3Uris(Collection<AIAdapterS3Entry> s3Uris) A list of LoRA adapters identified by their Amazon S3 URIs.s3Uris(Consumer<AIAdapterS3Entry.Builder>... s3Uris) A list of LoRA adapters identified by their Amazon S3 URIs.s3Uris(AIAdapterS3Entry... s3Uris) A list of LoRA adapters identified by 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
A list of LoRA adapters identified by their model package ARNs. Use this when your adapters were produced by a SageMaker AI fine-tuning workflow that registers model packages.
- Parameters:
modelPackageArns- A list of LoRA adapters identified by their model package ARNs. Use this when your adapters were produced by a SageMaker AI fine-tuning workflow that registers model packages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageArns
A list of LoRA adapters identified by their model package ARNs. Use this when your adapters were produced by a SageMaker AI fine-tuning workflow that registers model packages.
- Parameters:
modelPackageArns- A list of LoRA adapters identified by their model package ARNs. Use this when your adapters were produced by a SageMaker AI fine-tuning workflow that registers model packages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageArns
AIAdapterSource.Builder modelPackageArns(Consumer<AIAdapterModelPackageEntry.Builder>... modelPackageArns) A list of LoRA adapters identified by their model package ARNs. Use this when your adapters were produced by a SageMaker AI fine-tuning workflow that registers model packages.
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
A list of LoRA adapters identified by their Amazon S3 URIs. Use this when your adapters are stored as raw artifacts in Amazon S3.
- Parameters:
s3Uris- A list of LoRA adapters identified by their Amazon S3 URIs. Use this when your adapters are stored as raw artifacts in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Uris
A list of LoRA adapters identified by their Amazon S3 URIs. Use this when your adapters are stored as raw artifacts in Amazon S3.
- Parameters:
s3Uris- A list of LoRA adapters identified by their Amazon S3 URIs. Use this when your adapters are stored as raw artifacts in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Uris
A list of LoRA adapters identified by their Amazon S3 URIs. Use this when your adapters are stored as raw artifacts in Amazon S3.
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:
-