Interface PrometheusDirectQueryDataSource.Builder

  • Method Details

    • roleArn

      The unique identifier of the IAM role that grants OpenSearch Service permission to access the specified data source.

      Parameters:
      roleArn - The unique identifier of the IAM role that grants OpenSearch Service permission to access the specified data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workspaceArn

      PrometheusDirectQueryDataSource.Builder workspaceArn(String workspaceArn)

      The unique identifier of the Amazon Managed Prometheus Workspace that is associated with the specified data source.

      Parameters:
      workspaceArn - The unique identifier of the Amazon Managed Prometheus Workspace that is associated with the specified data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.