Interface CreateNamedQueryRequest.Builder

All Superinterfaces:
AthenaRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>, SdkBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateNamedQueryRequest

public static interface CreateNamedQueryRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>
  • Method Details

    • name

      The query name.

      Parameters:
      name - The query name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateNamedQueryRequest.Builder description(String description)

      The query description.

      Parameters:
      description - The query description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The database to which the query belongs.

      Parameters:
      database - The database to which the query belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryString

      CreateNamedQueryRequest.Builder queryString(String queryString)

      The contents of the query with all query statements.

      Parameters:
      queryString - The contents of the query with all query statements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      CreateNamedQueryRequest.Builder clientRequestToken(String clientRequestToken)

      A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another CreateNamedQuery request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the QueryString, an error is returned.

      This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.

      Parameters:
      clientRequestToken - A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another CreateNamedQuery request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the QueryString, an error is returned.

      This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.

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

      The name of the workgroup in which the named query is being created.

      Parameters:
      workGroup - The name of the workgroup in which the named query is being created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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