Interface AIAdapterSource.Builder

  • Method Details

    • modelPackageArns

      AIAdapterSource.Builder modelPackageArns(Collection<AIAdapterModelPackageEntry> 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(AIAdapterModelPackageEntry... 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.

      This is a convenience method that creates an instance of the AIAdapterModelPackageEntry.Builder avoiding the need to create one manually via AIAdapterModelPackageEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to modelPackageArns(List<AIAdapterModelPackageEntry>).

      Parameters:
      modelPackageArns - a consumer that will call methods on AIAdapterModelPackageEntry.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 the AIAdapterS3Entry.Builder avoiding the need to create one manually via AIAdapterS3Entry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3Uris(List<AIAdapterS3Entry>).

      Parameters:
      s3Uris - a consumer that will call methods on AIAdapterS3Entry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: