Interface FoundationModelSummary.Builder

  • Method Details

    • modelArn

      The Amazon Resource Name (ARN) of the foundation model.

      Parameters:
      modelArn - The Amazon Resource Name (ARN) of the foundation model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelId

      The model ID of the foundation model.

      Parameters:
      modelId - The model ID of the foundation model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelName

      FoundationModelSummary.Builder modelName(String modelName)

      The name of the model.

      Parameters:
      modelName - The name of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerName

      FoundationModelSummary.Builder providerName(String providerName)

      The model's provider name.

      Parameters:
      providerName - The model's provider name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputModalitiesWithStrings

      FoundationModelSummary.Builder inputModalitiesWithStrings(Collection<String> inputModalities)

      The input modalities that the model supports.

      Parameters:
      inputModalities - The input modalities that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputModalitiesWithStrings

      FoundationModelSummary.Builder inputModalitiesWithStrings(String... inputModalities)

      The input modalities that the model supports.

      Parameters:
      inputModalities - The input modalities that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputModalities

      FoundationModelSummary.Builder inputModalities(Collection<ModelModality> inputModalities)

      The input modalities that the model supports.

      Parameters:
      inputModalities - The input modalities that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputModalities

      FoundationModelSummary.Builder inputModalities(ModelModality... inputModalities)

      The input modalities that the model supports.

      Parameters:
      inputModalities - The input modalities that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputModalitiesWithStrings

      FoundationModelSummary.Builder outputModalitiesWithStrings(Collection<String> outputModalities)

      The output modalities that the model supports.

      Parameters:
      outputModalities - The output modalities that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputModalitiesWithStrings

      FoundationModelSummary.Builder outputModalitiesWithStrings(String... outputModalities)

      The output modalities that the model supports.

      Parameters:
      outputModalities - The output modalities that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputModalities

      FoundationModelSummary.Builder outputModalities(Collection<ModelModality> outputModalities)

      The output modalities that the model supports.

      Parameters:
      outputModalities - The output modalities that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputModalities

      FoundationModelSummary.Builder outputModalities(ModelModality... outputModalities)

      The output modalities that the model supports.

      Parameters:
      outputModalities - The output modalities that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseStreamingSupported

      FoundationModelSummary.Builder responseStreamingSupported(Boolean responseStreamingSupported)

      Indicates whether the model supports streaming.

      Parameters:
      responseStreamingSupported - Indicates whether the model supports streaming.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customizationsSupportedWithStrings

      FoundationModelSummary.Builder customizationsSupportedWithStrings(Collection<String> customizationsSupported)

      Whether the model supports fine-tuning or continual pre-training.

      Parameters:
      customizationsSupported - Whether the model supports fine-tuning or continual pre-training.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customizationsSupportedWithStrings

      FoundationModelSummary.Builder customizationsSupportedWithStrings(String... customizationsSupported)

      Whether the model supports fine-tuning or continual pre-training.

      Parameters:
      customizationsSupported - Whether the model supports fine-tuning or continual pre-training.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customizationsSupported

      FoundationModelSummary.Builder customizationsSupported(Collection<ModelCustomization> customizationsSupported)

      Whether the model supports fine-tuning or continual pre-training.

      Parameters:
      customizationsSupported - Whether the model supports fine-tuning or continual pre-training.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customizationsSupported

      FoundationModelSummary.Builder customizationsSupported(ModelCustomization... customizationsSupported)

      Whether the model supports fine-tuning or continual pre-training.

      Parameters:
      customizationsSupported - Whether the model supports fine-tuning or continual pre-training.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferenceTypesSupportedWithStrings

      FoundationModelSummary.Builder inferenceTypesSupportedWithStrings(Collection<String> inferenceTypesSupported)

      The inference types that the model supports.

      Parameters:
      inferenceTypesSupported - The inference types that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferenceTypesSupportedWithStrings

      FoundationModelSummary.Builder inferenceTypesSupportedWithStrings(String... inferenceTypesSupported)

      The inference types that the model supports.

      Parameters:
      inferenceTypesSupported - The inference types that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferenceTypesSupported

      FoundationModelSummary.Builder inferenceTypesSupported(Collection<InferenceType> inferenceTypesSupported)

      The inference types that the model supports.

      Parameters:
      inferenceTypesSupported - The inference types that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inferenceTypesSupported

      FoundationModelSummary.Builder inferenceTypesSupported(InferenceType... inferenceTypesSupported)

      The inference types that the model supports.

      Parameters:
      inferenceTypesSupported - The inference types that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelLifecycle

      Contains details about whether a model version is available or deprecated.

      Parameters:
      modelLifecycle - Contains details about whether a model version is available or deprecated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelLifecycle

      Contains details about whether a model version is available or deprecated.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to modelLifecycle(FoundationModelLifecycle).

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