Interface GetFoundationModelRequest.Builder

  • Method Details

    • modelIdentifier

      GetFoundationModelRequest.Builder modelIdentifier(String modelIdentifier)

      The model identifier.

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

      GetFoundationModelRequest.Builder projectIdentifier(String projectIdentifier)

      The ID or Amazon Resource Name (ARN) of a project. Amazon Bedrock uses the project's trusted access program participation when determining whether to return the model. The project must belong to your account in the same AWS Region and partition as the request.

      If you omit this parameter or specify default, Amazon Bedrock uses your account's participation, including organization inheritance.

      A project that doesn't exist or is archived causes a ValidationException. A model outside the project's available model catalog causes a ResourceNotFoundException.

      Parameters:
      projectIdentifier - The ID or Amazon Resource Name (ARN) of a project. Amazon Bedrock uses the project's trusted access program participation when determining whether to return the model. The project must belong to your account in the same AWS Region and partition as the request.

      If you omit this parameter or specify default, Amazon Bedrock uses your account's participation, including organization inheritance.

      A project that doesn't exist or is archived causes a ValidationException. A model outside the project's available model catalog causes a ResourceNotFoundException.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetFoundationModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.