Interface CreateRlsPolicyRequest.Builder

  • Method Details

    • name

      A unique name for the row-level security policy within the Data Catalog.

      Parameters:
      name - A unique name for the row-level security policy within the Data Catalog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentColumns

      CreateRlsPolicyRequest.Builder attachmentColumns(Collection<Column> attachmentColumns)

      The list of columns that the filter expression references. These columns define the shape of the data that the policy can be attached to.

      Parameters:
      attachmentColumns - The list of columns that the filter expression references. These columns define the shape of the data that the policy can be attached to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentColumns

      CreateRlsPolicyRequest.Builder attachmentColumns(Column... attachmentColumns)

      The list of columns that the filter expression references. These columns define the shape of the data that the policy can be attached to.

      Parameters:
      attachmentColumns - The list of columns that the filter expression references. These columns define the shape of the data that the policy can be attached to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentColumns

      CreateRlsPolicyRequest.Builder attachmentColumns(Consumer<Column.Builder>... attachmentColumns)

      The list of columns that the filter expression references. These columns define the shape of the data that the policy can be attached to.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attachmentColumns(List<Column>).

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

      CreateRlsPolicyRequest.Builder filterExpression(String filterExpression)

      A filter predicate, written in a SQL-like syntax, that Lake Formation evaluates against each row. Only the rows for which the expression evaluates to true are returned to the principal.

      Parameters:
      filterExpression - A filter predicate, written in a SQL-like syntax, that Lake Formation evaluates against each row. Only the rows for which the expression evaluates to true are returned to the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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