public static interface Grant.Builder extends SdkPojo, CopyableBuilder<Grant.Builder,Grant>
| Modifier and Type | Method and Description |
|---|---|
default Grant.Builder |
grantee(Consumer<Grantee.Builder> grantee)
This is a convenience that creates an instance of the
Grantee.Builder avoiding the need to create one
manually via Grantee.builder(). |
Grant.Builder |
grantee(Grantee grantee)
|
Grant.Builder |
permission(Permission permission)
Specifies the permission given to the grantee.
|
Grant.Builder |
permission(String permission)
Specifies the permission given to the grantee.
|
copyapplyMutation, buildGrant.Builder grantee(Grantee grantee)
grantee - default Grant.Builder grantee(Consumer<Grantee.Builder> grantee)
Grantee.Builder avoiding the need to create one
manually via Grantee.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to grantee(Grantee).grantee - a consumer that will call methods on Grantee.Buildergrantee(Grantee)Grant.Builder permission(String permission)
Specifies the permission given to the grantee.
permission - Specifies the permission given to the grantee.Permission,
PermissionGrant.Builder permission(Permission permission)
Specifies the permission given to the grantee.
permission - Specifies the permission given to the grantee.Permission,
PermissionCopyright © 2019. All rights reserved.