Interface DetachRlsPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DetachRlsPolicyRequest.Builder,,DetachRlsPolicyRequest> LakeFormationRequest.Builder,SdkBuilder<DetachRlsPolicyRequest.Builder,,DetachRlsPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DetachRlsPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault DetachRlsPolicyRequest.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 detach.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default DetachRlsPolicyRequest.Builderprincipal(Consumer<DataLakePrincipal.Builder> principal) The principal for which the row-level security policy is detached.principal(DataLakePrincipal principal) The principal for which the row-level security policy is detached.removeDefault(Boolean removeDefault) Indicates whether to remove this policy as the default row-level security policy for the resource.default DetachRlsPolicyRequest.Builderresource(Consumer<Resource.Builder> resource) The resource from which the row-level security policy is detached.The resource from which the row-level security policy is detached.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 detach.
- Parameters:
name- The name of the row-level security policy to detach.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource from which the row-level security policy is detached.
- Parameters:
resource- The resource from which the row-level security policy is detached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource from which the row-level security policy is detached.
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 for which the row-level security policy is detached.
- Parameters:
principal- The principal for which the row-level security policy is detached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal for which the row-level security policy is detached.
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:
-
removeDefault
Indicates whether to remove this policy as the default row-level security policy for the resource.
- Parameters:
removeDefault- Indicates whether to remove this policy as the default row-level security policy for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DetachRlsPolicyRequest.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
DetachRlsPolicyRequest.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.
-