Interface UpdateFolderPermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFolderPermissionsRequest.Builder,,UpdateFolderPermissionsRequest> QuickSightRequest.Builder,SdkBuilder<UpdateFolderPermissionsRequest.Builder,,UpdateFolderPermissionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFolderPermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID for the Amazon Web Services account that contains the folder to update.The ID of the folder.grantPermissions(Collection<ResourcePermission> grantPermissions) The permissions that you want to grant on a resource.grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions) The permissions that you want to grant on a resource.grantPermissions(ResourcePermission... grantPermissions) The permissions that you want to grant on a resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revokePermissions(Collection<ResourcePermission> revokePermissions) The permissions that you want to revoke from a resource.revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions) The permissions that you want to revoke from a resource.revokePermissions(ResourcePermission... revokePermissions) The permissions that you want to revoke from a resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID for the Amazon Web Services account that contains the folder to update.
- Parameters:
awsAccountId- The ID for the Amazon Web Services account that contains the folder to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderId
The ID of the folder.
- Parameters:
folderId- The ID of the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateFolderPermissionsRequest.Builder grantPermissions(Collection<ResourcePermission> grantPermissions) The permissions that you want to grant on a resource. Namespace ARNs are not supported
Principalvalues for folder permissions.- Parameters:
grantPermissions- The permissions that you want to grant on a resource. Namespace ARNs are not supportedPrincipalvalues for folder permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
The permissions that you want to grant on a resource. Namespace ARNs are not supported
Principalvalues for folder permissions.- Parameters:
grantPermissions- The permissions that you want to grant on a resource. Namespace ARNs are not supportedPrincipalvalues for folder permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateFolderPermissionsRequest.Builder grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions) The permissions that you want to grant on a resource. Namespace ARNs are not supported
This is a convenience method that creates an instance of thePrincipalvalues for folder permissions.ResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tograntPermissions(List<ResourcePermission>).- Parameters:
grantPermissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revokePermissions
UpdateFolderPermissionsRequest.Builder revokePermissions(Collection<ResourcePermission> revokePermissions) The permissions that you want to revoke from a resource. Namespace ARNs are not supported
Principalvalues for folder permissions.- Parameters:
revokePermissions- The permissions that you want to revoke from a resource. Namespace ARNs are not supportedPrincipalvalues for folder permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
The permissions that you want to revoke from a resource. Namespace ARNs are not supported
Principalvalues for folder permissions.- Parameters:
revokePermissions- The permissions that you want to revoke from a resource. Namespace ARNs are not supportedPrincipalvalues for folder permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateFolderPermissionsRequest.Builder revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions) The permissions that you want to revoke from a resource. Namespace ARNs are not supported
This is a convenience method that creates an instance of thePrincipalvalues for folder permissions.ResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevokePermissions(List<ResourcePermission>).- Parameters:
revokePermissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateFolderPermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFolderPermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-