Interface StoredQuery.Builder

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

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

    • queryId

      StoredQuery.Builder queryId(String queryId)

      The ID of the query.

      Parameters:
      queryId - The ID of the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryArn

      StoredQuery.Builder queryArn(String queryArn)

      Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.

      Parameters:
      queryArn - Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryName

      StoredQuery.Builder queryName(String queryName)

      The name of the query.

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

      StoredQuery.Builder description(String description)

      A unique description for the query.

      Parameters:
      description - A unique description for the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expression

      StoredQuery.Builder expression(String expression)

      The expression of the query. For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.

      Parameters:
      expression - The expression of the query. For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.