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)
Container for the person being granted permissions.
|
TargetGrant.Builder |
grantee(Grantee grantee)
Container for the person being granted permissions.
|
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTargetGrant.Builder grantee(Grantee grantee)
Container for the person being granted permissions.
grantee - Container for the person being granted permissions.default TargetGrant.Builder grantee(Consumer<Grantee.Builder> grantee)
Container for the person being granted permissions.
This is a convenience method 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)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 © 2023. All rights reserved.