Interface FoundationModelSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FoundationModelSummary.Builder,FoundationModelSummary>, SdkBuilder<FoundationModelSummary.Builder,FoundationModelSummary>, SdkPojo
Enclosing class:
FoundationModelSummary

public static interface FoundationModelSummary.Builder extends SdkPojo, CopyableBuilder<FoundationModelSummary.Builder,FoundationModelSummary>
  • Method Details

    • modelArn

      The ARN of the foundation model.

      Parameters:
      modelArn - The 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.