Interface AddResourcePermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddResourcePermissionsRequest.Builder,
,AddResourcePermissionsRequest> SdkBuilder<AddResourcePermissionsRequest.Builder,
,AddResourcePermissionsRequest> SdkPojo
,SdkRequest.Builder
,WorkDocsRequest.Builder
- Enclosing class:
AddResourcePermissionsRequest
public static interface AddResourcePermissionsRequest.Builder
extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<AddResourcePermissionsRequest.Builder,AddResourcePermissionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationToken
(String authenticationToken) Amazon WorkDocs authentication token.notificationOptions
(Consumer<NotificationOptions.Builder> notificationOptions) The notification options.notificationOptions
(NotificationOptions notificationOptions) The notification options.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principals
(Collection<SharePrincipal> principals) The users, groups, or organization being granted permission.principals
(Consumer<SharePrincipal.Builder>... principals) The users, groups, or organization being granted permission.principals
(SharePrincipal... principals) The users, groups, or organization being granted permission.resourceId
(String resourceId) The ID of the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsRequest.Builder
build
-
Method Details
-
authenticationToken
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
- Parameters:
authenticationToken
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the resource.
- Parameters:
resourceId
- The ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The users, groups, or organization being granted permission.
- Parameters:
principals
- The users, groups, or organization being granted permission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
The users, groups, or organization being granted permission.
This is a convenience method that creates an instance of theSharePrincipal.Builder
avoiding the need to create one manually viaSharePrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipals(List<SharePrincipal>)
.- Parameters:
principals
- a consumer that will call methods onSharePrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notificationOptions
The notification options.
- Parameters:
notificationOptions
- The notification options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationOptions
default AddResourcePermissionsRequest.Builder notificationOptions(Consumer<NotificationOptions.Builder> notificationOptions) The notification options.
This is a convenience method that creates an instance of theNotificationOptions.Builder
avoiding the need to create one manually viaNotificationOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationOptions(NotificationOptions)
.- Parameters:
notificationOptions
- a consumer that will call methods onNotificationOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddResourcePermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddResourcePermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-