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 Summary
Modifier and TypeMethodDescriptionThe unique identifier of the IAM role that grants OpenSearch Service permission to access the specified data source.workspaceArn(String workspaceArn) The unique identifier of the Amazon Managed Prometheus Workspace that is associated with the specified data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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.
-