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)
The grantee.
|
Grant.Builder |
grantee(Grantee grantee)
The 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)
The grantee.
grantee - The grantee.default Grant.Builder grantee(Consumer<Grantee.Builder> grantee)
The grantee.
This is a convenience that creates an instance of theGrantee.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.