Interface ListInferenceProfilesRequest.Builder

  • Method Details

    • maxResults

      The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

      Parameters:
      maxResults - The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

      Parameters:
      nextToken - If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • typeEquals

      Filters for inference profiles that match the type you specify.

      • SYSTEM_DEFINED – The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles.

      • APPLICATION – The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.

      Parameters:
      typeEquals - Filters for inference profiles that match the type you specify.

      • SYSTEM_DEFINED – The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles.

      • APPLICATION – The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.

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

      Filters for inference profiles that match the type you specify.

      • SYSTEM_DEFINED – The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles.

      • APPLICATION – The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.

      Parameters:
      typeEquals - Filters for inference profiles that match the type you specify.

      • SYSTEM_DEFINED – The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles.

      • APPLICATION – The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.

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

      ListInferenceProfilesRequest.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 which system-defined inference profiles to return. 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. Specifying a project other than default with typeEquals set to APPLICATION also causes a ValidationException. Omit typeEquals or set it to SYSTEM_DEFINED to list system-defined inference profiles for the project.

      Parameters:
      projectIdentifier - The ID or Amazon Resource Name (ARN) of a project. Amazon Bedrock uses the project's trusted access program participation when determining which system-defined inference profiles to return. 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. Specifying a project other than default with typeEquals set to APPLICATION also causes a ValidationException. Omit typeEquals or set it to SYSTEM_DEFINED to list system-defined inference profiles for the project.

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

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