Interface FoundationModelDetails.Builder

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

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

    • modelArn

      The model ARN.

      Parameters:
      modelArn - The model ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelId

      The model identifier.

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

      FoundationModelDetails.Builder modelName(String modelName)

      The model name.

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

      FoundationModelDetails.Builder providerName(String providerName)

      he model's provider name.

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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.Builder customizationsSupportedWithStrings(Collection<String> customizationsSupported)

      The customization that the model supports.

      Parameters:
      customizationsSupported - The customization that the model supports.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customizationsSupportedWithStrings

      FoundationModelDetails.Builder customizationsSupportedWithStrings(String... customizationsSupported)

      The customization that the model supports.

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

      FoundationModelDetails.Builder customizationsSupported(Collection<ModelCustomization> customizationsSupported)

      The customization that the model supports.

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

      FoundationModelDetails.Builder customizationsSupported(ModelCustomization... customizationsSupported)

      The customization that the model supports.

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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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

      FoundationModelDetails.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.