Interface PrometheusDirectQueryDataSource.Builder

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

@Mutable @NotThreadSafe public static interface PrometheusDirectQueryDataSource.Builder extends SdkPojo, CopyableBuilder<PrometheusDirectQueryDataSource.Builder,PrometheusDirectQueryDataSource>
  • 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.