Interface RevokePermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RevokePermissionsRequest.Builder,
,RevokePermissionsRequest> LakeFormationRequest.Builder
,SdkBuilder<RevokePermissionsRequest.Builder,
,RevokePermissionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RevokePermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the Data Catalog.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissions
(Collection<Permission> permissions) The permissions revoked to the principal on the resource.permissions
(Permission... permissions) The permissions revoked to the principal on the resource.permissionsWithGrantOption
(Collection<Permission> permissionsWithGrantOption) Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.permissionsWithGrantOption
(Permission... permissionsWithGrantOption) Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.permissionsWithGrantOptionWithStrings
(String... permissionsWithGrantOption) Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.permissionsWithGrantOptionWithStrings
(Collection<String> permissionsWithGrantOption) Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.permissionsWithStrings
(String... permissions) The permissions revoked to the principal on the resource.permissionsWithStrings
(Collection<String> permissions) The permissions revoked to the principal on the resource.default RevokePermissionsRequest.Builder
principal
(Consumer<DataLakePrincipal.Builder> principal) The principal to be revoked permissions on the resource.principal
(DataLakePrincipal principal) The principal to be revoked permissions on the resource.default RevokePermissionsRequest.Builder
resource
(Consumer<Resource.Builder> resource) The resource to which permissions are to be revoked.The resource to which permissions are to be revoked.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
catalogId
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
- Parameters:
catalogId
- The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal to be revoked permissions on the resource.
- Parameters:
principal
- The principal to be revoked permissions on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
The principal to be revoked permissions on the resource.
This is a convenience method that creates an instance of theDataLakePrincipal.Builder
avoiding the need to create one manually viaDataLakePrincipal.builder()
.When the
Consumer
completes,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:
-
resource
The resource to which permissions are to be revoked.
- Parameters:
resource
- The resource to which permissions are to be revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource to which permissions are to be revoked.
This is a convenience method that creates an instance of theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,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:
-
permissionsWithStrings
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
- Parameters:
permissions
- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithStrings
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
- Parameters:
permissions
- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
- Parameters:
permissions
- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.
- Parameters:
permissions
- The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOptionWithStrings
RevokePermissionsRequest.Builder permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption) Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
- Parameters:
permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOptionWithStrings
RevokePermissionsRequest.Builder permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption) Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
- Parameters:
permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOption
RevokePermissionsRequest.Builder permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption) Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
- Parameters:
permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsWithGrantOption
RevokePermissionsRequest.Builder permissionsWithGrantOption(Permission... permissionsWithGrantOption) Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.
- Parameters:
permissionsWithGrantOption
- Indicates a list of permissions for which to revoke the grant option allowing the principal to pass permissions to other principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RevokePermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RevokePermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-