Interface GenerativeAiSettings.Builder

    • Method Detail

      • amazonBedrockRoleArn

        GenerativeAiSettings.Builder amazonBedrockRoleArn​(String amazonBedrockRoleArn)

        The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that establishes bedrock.amazonaws.com as a service principal.

        Parameters:
        amazonBedrockRoleArn - The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that establishes bedrock.amazonaws.com as a service principal.
        Returns:
        Returns a reference to this object so that method calls can be chained together.