Interface CreateRlsPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRlsPolicyRequest.Builder,,CreateRlsPolicyRequest> LakeFormationRequest.Builder,SdkBuilder<CreateRlsPolicyRequest.Builder,,CreateRlsPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRlsPolicyRequest
-
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.filterExpression(String filterExpression) A filter predicate, written in a SQL-like syntax, that Lake Formation evaluates against each row.A unique name for the row-level security policy within the Data Catalog.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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 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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRlsPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-