public static interface Grant.Builder extends CopyableBuilder<Grant.Builder,Grant>
| Modifier and Type | Method and Description |
|---|---|
default Grant.Builder |
grantee(Consumer<Grantee.Builder> grantee)
Sets the value of the Grantee property for this object.
|
Grant.Builder |
grantee(Grantee grantee)
Sets the value of the Grantee property for this object.
|
Grant.Builder |
permission(Permission permission)
Specifies the permission given to the grantee.
|
Grant.Builder |
permission(String permission)
Specifies the permission given to the grantee.
|
copyapply, buildGrant.Builder grantee(Grantee grantee)
grantee - The new value for the Grantee property for this object.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)
permission - Specifies the permission given to the grantee.Permission,
PermissionGrant.Builder permission(Permission permission)
permission - Specifies the permission given to the grantee.Permission,
PermissionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.