public static interface PrincipalResourcePermissions.Builder extends SdkPojo, CopyableBuilder<PrincipalResourcePermissions.Builder,PrincipalResourcePermissions>
| Modifier and Type | Method and Description |
|---|---|
PrincipalResourcePermissions.Builder |
permissions(Collection<Permission> permissions)
The permissions to be granted or revoked on the resource.
|
PrincipalResourcePermissions.Builder |
permissions(Permission... permissions)
The permissions to be granted or revoked on the resource.
|
PrincipalResourcePermissions.Builder |
permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption)
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
|
PrincipalResourcePermissions.Builder |
permissionsWithGrantOption(Permission... permissionsWithGrantOption)
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
|
PrincipalResourcePermissions.Builder |
permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption)
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
|
PrincipalResourcePermissions.Builder |
permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption)
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
|
PrincipalResourcePermissions.Builder |
permissionsWithStrings(Collection<String> permissions)
The permissions to be granted or revoked on the resource.
|
PrincipalResourcePermissions.Builder |
permissionsWithStrings(String... permissions)
The permissions to be granted or revoked on the resource.
|
default PrincipalResourcePermissions.Builder |
principal(Consumer<DataLakePrincipal.Builder> principal)
The Data Lake principal to be granted or revoked permissions.
|
PrincipalResourcePermissions.Builder |
principal(DataLakePrincipal principal)
The Data Lake principal to be granted or revoked permissions.
|
default PrincipalResourcePermissions.Builder |
resource(Consumer<Resource.Builder> resource)
The resource where permissions are to be granted or revoked.
|
PrincipalResourcePermissions.Builder |
resource(Resource resource)
The resource where permissions are to be granted or revoked.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPrincipalResourcePermissions.Builder principal(DataLakePrincipal principal)
The Data Lake principal to be granted or revoked permissions.
principal - The Data Lake principal to be granted or revoked permissions.default PrincipalResourcePermissions.Builder principal(Consumer<DataLakePrincipal.Builder> principal)
The Data Lake principal to be granted or revoked permissions.
This is a convenience that creates an instance of theDataLakePrincipal.Builder avoiding the need to
create one manually via DataLakePrincipal.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to principal(DataLakePrincipal).principal - a consumer that will call methods on DataLakePrincipal.Builderprincipal(DataLakePrincipal)PrincipalResourcePermissions.Builder resource(Resource resource)
The resource where permissions are to be granted or revoked.
resource - The resource where permissions are to be granted or revoked.default PrincipalResourcePermissions.Builder resource(Consumer<Resource.Builder> resource)
The resource where permissions are to be granted or revoked.
This is a convenience that creates an instance of theResource.Builder avoiding the need to create
one manually via Resource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to resource(Resource).resource - a consumer that will call methods on Resource.Builderresource(Resource)PrincipalResourcePermissions.Builder permissionsWithStrings(Collection<String> permissions)
The permissions to be granted or revoked on the resource.
permissions - The permissions to be granted or revoked on the resource.PrincipalResourcePermissions.Builder permissionsWithStrings(String... permissions)
The permissions to be granted or revoked on the resource.
permissions - The permissions to be granted or revoked on the resource.PrincipalResourcePermissions.Builder permissions(Collection<Permission> permissions)
The permissions to be granted or revoked on the resource.
permissions - The permissions to be granted or revoked on the resource.PrincipalResourcePermissions.Builder permissions(Permission... permissions)
The permissions to be granted or revoked on the resource.
permissions - The permissions to be granted or revoked on the resource.PrincipalResourcePermissions.Builder permissionsWithGrantOptionWithStrings(Collection<String> permissionsWithGrantOption)
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
permissionsWithGrantOption - Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).PrincipalResourcePermissions.Builder permissionsWithGrantOptionWithStrings(String... permissionsWithGrantOption)
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
permissionsWithGrantOption - Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).PrincipalResourcePermissions.Builder permissionsWithGrantOption(Collection<Permission> permissionsWithGrantOption)
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
permissionsWithGrantOption - Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).PrincipalResourcePermissions.Builder permissionsWithGrantOption(Permission... permissionsWithGrantOption)
Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
permissionsWithGrantOption - Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).Copyright © 2019. All rights reserved.