public static interface TargetGrant.Builder extends SdkPojo, CopyableBuilder<TargetGrant.Builder,TargetGrant>
| Modifier and Type | Method and Description |
|---|---|
default TargetGrant.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(). |
TargetGrant.Builder |
grantee(Grantee grantee)
|
TargetGrant.Builder |
permission(BucketLogsPermission permission)
Logging permissions assigned to the Grantee for the bucket.
|
TargetGrant.Builder |
permission(String permission)
Logging permissions assigned to the Grantee for the bucket.
|
copyapplyMutation, buildTargetGrant.Builder grantee(Grantee grantee)
grantee - default TargetGrant.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)TargetGrant.Builder permission(String permission)
Logging permissions assigned to the Grantee for the bucket.
permission - Logging permissions assigned to the Grantee for the bucket.BucketLogsPermission,
BucketLogsPermissionTargetGrant.Builder permission(BucketLogsPermission permission)
Logging permissions assigned to the Grantee for the bucket.
permission - Logging permissions assigned to the Grantee for the bucket.BucketLogsPermission,
BucketLogsPermissionCopyright © 2019. All rights reserved.