public static interface AddResourcePermissionsRequest.Builder extends WorkDocsRequest.Builder, CopyableBuilder<AddResourcePermissionsRequest.Builder,AddResourcePermissionsRequest>
buildrequestOverrideConfigcopyapply, buildAddResourcePermissionsRequest.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 principals(Consumer<SharePrincipal.Builder>... principals)
The users, groups, or organization being granted permission.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #principals(List) .principals - a consumer that will call methods on List.Builder #principals(List) 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.BuildernotificationOptions(NotificationOptions)AddResourcePermissionsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.AddResourcePermissionsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.