public static interface AddResourcePermissionsRequest.Builder extends WorkDocsRequest.Builder, CopyableBuilder<AddResourcePermissionsRequest.Builder,AddResourcePermissionsRequest>
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
AddResourcePermissionsRequest.Builder authenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as
in accessing the API using AWS credentials.AddResourcePermissionsRequest.Builder resourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.AddResourcePermissionsRequest.Builder principals(Collection<SharePrincipal> principals)
The users, groups, or organization being granted permission.
principals
- The users, groups, or organization being granted permission.AddResourcePermissionsRequest.Builder principals(SharePrincipal... principals)
The users, groups, or organization being granted permission.
principals
- The users, groups, or organization being granted permission.AddResourcePermissionsRequest.Builder notificationOptions(NotificationOptions notificationOptions)
The notification options.
notificationOptions
- The notification options.default AddResourcePermissionsRequest.Builder notificationOptions(Consumer<NotificationOptions.Builder> notificationOptions)
The notification options.
This is a convenience that creates an instance of theNotificationOptions.Builder
avoiding the need
to create one manually via NotificationOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to notificationOptions(NotificationOptions)
.notificationOptions
- a consumer that will call methods on NotificationOptions.Builder
notificationOptions(NotificationOptions)
AddResourcePermissionsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.