Interface AttachRlsPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AttachRlsPolicyRequest.Builder,,AttachRlsPolicyRequest> LakeFormationRequest.Builder,SdkBuilder<AttachRlsPolicyRequest.Builder,,AttachRlsPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AttachRlsPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault AttachRlsPolicyRequest.Buildercondition(Consumer<Condition.Builder> condition) A Lake Formation condition, which applies to the row-level security policy attachment and contains an expression.A Lake Formation condition, which applies to the row-level security policy attachment and contains an expression.The name of the row-level security policy to attach.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default AttachRlsPolicyRequest.Builderprincipal(Consumer<DataLakePrincipal.Builder> principal) The principal to which the row-level security policy applies.principal(DataLakePrincipal principal) The principal to which the row-level security policy applies.default AttachRlsPolicyRequest.Builderresource(Consumer<Resource.Builder> resource) The resource to which the row-level security policy is attached.The resource to which the row-level security policy is attached.setDefault(Boolean setDefault) Indicates whether this policy becomes the default row-level security policy for the resource.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
The name of the row-level security policy to attach.
- Parameters:
name- The name of the row-level security policy to attach.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource to which the row-level security policy is attached.
- Parameters:
resource- The resource to which the row-level security policy is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource to which the row-level security policy is attached.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(Resource).- Parameters:
resource- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principal
The principal to which the row-level security policy applies.
- Parameters:
principal- The principal to which the row-level security policy applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal to which the row-level security policy applies.
This is a convenience method that creates an instance of theDataLakePrincipal.Builderavoiding the need to create one manually viaDataLakePrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(DataLakePrincipal).- Parameters:
principal- a consumer that will call methods onDataLakePrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
condition
A Lake Formation condition, which applies to the row-level security policy attachment and contains an expression.
- Parameters:
condition- A Lake Formation condition, which applies to the row-level security policy attachment and contains an expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
A Lake Formation condition, which applies to the row-level security policy attachment and contains an expression.
This is a convenience method that creates an instance of theCondition.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocondition(Condition).- Parameters:
condition- a consumer that will call methods onCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setDefault
Indicates whether this policy becomes the default row-level security policy for the resource. The default policy applies to all principals by default.
- Parameters:
setDefault- Indicates whether this policy becomes the default row-level security policy for the resource. The default policy applies to all principals by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AttachRlsPolicyRequest.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
AttachRlsPolicyRequest.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.
-