public static interface TargetGrant.Builder extends CopyableBuilder<TargetGrant.Builder,TargetGrant>
| Modifier and Type | Method and Description |
|---|---|
default TargetGrant.Builder |
grantee(Consumer<Grantee.Builder> grantee)
Sets the value of the Grantee property for this object.
|
TargetGrant.Builder |
grantee(Grantee grantee)
Sets the value of the Grantee property for this object.
|
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.
|
copyapply, buildTargetGrant.Builder grantee(Grantee grantee)
grantee - The new value for the Grantee property for this object.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)
permission - Logging permissions assigned to the Grantee for the bucket.BucketLogsPermission,
BucketLogsPermissionTargetGrant.Builder permission(BucketLogsPermission permission)
permission - Logging permissions assigned to the Grantee for the bucket.BucketLogsPermission,
BucketLogsPermissionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.