public static interface PrincipalResourcePermissions.Builder extends SdkPojo, CopyableBuilder<PrincipalResourcePermissions.Builder,PrincipalResourcePermissions>
| Modifier and Type | Method and Description |
|---|---|
default PrincipalResourcePermissions.Builder |
additionalDetails(Consumer<DetailsMap.Builder> additionalDetails)
This attribute can be used to return any additional details of
PrincipalResourcePermissions. |
PrincipalResourcePermissions.Builder |
additionalDetails(DetailsMap additionalDetails)
This attribute can be used to return any additional details of
PrincipalResourcePermissions. |
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 method 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 method 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).PrincipalResourcePermissions.Builder additionalDetails(DetailsMap additionalDetails)
This attribute can be used to return any additional details of PrincipalResourcePermissions.
Currently returns only as a RAM resource share ARN.
additionalDetails - This attribute can be used to return any additional details of
PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.default PrincipalResourcePermissions.Builder additionalDetails(Consumer<DetailsMap.Builder> additionalDetails)
This attribute can be used to return any additional details of PrincipalResourcePermissions.
Currently returns only as a RAM resource share ARN.
DetailsMap.Builder avoiding the need to
create one manually via DetailsMap.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to additionalDetails(DetailsMap).
additionalDetails - a consumer that will call methods on DetailsMap.BuilderadditionalDetails(DetailsMap)Copyright © 2023. All rights reserved.