Interface RLSPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RLSPolicy.Builder,,RLSPolicy> SdkBuilder<RLSPolicy.Builder,,RLSPolicy> SdkPojo
- Enclosing class:
RLSPolicy
@Mutable
@NotThreadSafe
public static interface RLSPolicy.Builder
extends SdkPojo, CopyableBuilder<RLSPolicy.Builder,RLSPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentColumns(Collection<Column> attachmentColumns) The list of columns that the filter expression references.attachmentColumns(Consumer<Column.Builder>... attachmentColumns) The list of columns that the filter expression references.attachmentColumns(Column... attachmentColumns) The list of columns that the filter expression references.The identifier for the Data Catalog that contains the policy.filterExpression(String filterExpression) The filter predicate, written in a SQL-like syntax, that determines which rows are returned to the principal.The name of the row-level security policy.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
-
catalogId
The identifier for the Data Catalog that contains the policy. By default, the account ID.
- Parameters:
catalogId- The identifier for the Data Catalog that contains the policy. By default, the account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the row-level security policy.
- Parameters:
name- The name of the row-level security policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentColumns
The list of columns that the filter expression references.
- Parameters:
attachmentColumns- The list of columns that the filter expression references.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentColumns
The list of columns that the filter expression references.
- Parameters:
attachmentColumns- The list of columns that the filter expression references.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentColumns
The list of columns that the filter expression references.
This is a convenience method that creates an instance of theColumn.Builderavoiding the need to create one manually viaColumn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachmentColumns(List<Column>).- Parameters:
attachmentColumns- a consumer that will call methods onColumn.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filterExpression
The filter predicate, written in a SQL-like syntax, that determines which rows are returned to the principal.
- Parameters:
filterExpression- The filter predicate, written in a SQL-like syntax, that determines which rows are returned to the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-