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)
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.
|
copy
applyMutation, build
TargetGrant.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.Builder
grantee(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
,
BucketLogsPermission
TargetGrant.Builder permission(BucketLogsPermission permission)
Logging permissions assigned to the Grantee for the bucket.
permission
- Logging permissions assigned to the Grantee for the bucket.BucketLogsPermission
,
BucketLogsPermission
Copyright © 2018. All rights reserved.