Interface GetDirectQueryDataSourceResponse.Builder

  • Method Details

    • dataSourceName

      GetDirectQueryDataSourceResponse.Builder dataSourceName(String dataSourceName)

      A unique, user-defined label to identify the data source within your OpenSearch Service environment.

      Parameters:
      dataSourceName - A unique, user-defined label to identify the data source within your OpenSearch Service environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceType

      The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.

      Parameters:
      dataSourceType - The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceType

      The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.

      This is a convenience method that creates an instance of the DirectQueryDataSourceType.Builder avoiding the need to create one manually via DirectQueryDataSourceType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSourceType(DirectQueryDataSourceType).

      Parameters:
      dataSourceType - a consumer that will call methods on DirectQueryDataSourceType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      A description that provides additional context and details about the data source.

      Parameters:
      description - A description that provides additional context and details about the data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • openSearchArns

      A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.

      Parameters:
      openSearchArns - A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • openSearchArns

      GetDirectQueryDataSourceResponse.Builder openSearchArns(String... openSearchArns)

      A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.

      Parameters:
      openSearchArns - A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceArn

      GetDirectQueryDataSourceResponse.Builder dataSourceArn(String dataSourceArn)

      The unique, system-generated identifier that represents the data source.

      Parameters:
      dataSourceArn - The unique, system-generated identifier that represents the data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.