Interface UpdateFlowPermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFlowPermissionsRequest.Builder,
,UpdateFlowPermissionsRequest> QuickSightRequest.Builder
,SdkBuilder<UpdateFlowPermissionsRequest.Builder,
,UpdateFlowPermissionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFlowPermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The ID of the Amazon Web Services account that contains the flow you are updating permissions against.The unique identifier of the flow to update permissions for.grantPermissions
(Collection<Permission> grantPermissions) The permissions that you want to grant on this flow.grantPermissions
(Consumer<Permission.Builder>... grantPermissions) The permissions that you want to grant on this flow.grantPermissions
(Permission... grantPermissions) The permissions that you want to grant on this flow.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revokePermissions
(Collection<Permission> revokePermissions) The permissions that you want to revoke from this flow.revokePermissions
(Consumer<Permission.Builder>... revokePermissions) The permissions that you want to revoke from this flow.revokePermissions
(Permission... revokePermissions) The permissions that you want to revoke from this flow.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.services.quicksight.model.QuickSightRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account that contains the flow you are updating permissions against.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account that contains the flow you are updating permissions against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowId
The unique identifier of the flow to update permissions for.
- Parameters:
flowId
- The unique identifier of the flow to update permissions for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
The permissions that you want to grant on this flow.
- Parameters:
grantPermissions
- The permissions that you want to grant on this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
The permissions that you want to grant on this flow.
- Parameters:
grantPermissions
- The permissions that you want to grant on this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateFlowPermissionsRequest.Builder grantPermissions(Consumer<Permission.Builder>... grantPermissions) The permissions that you want to grant on this flow.
This is a convenience method that creates an instance of thePermission.Builder
avoiding the need to create one manually viaPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tograntPermissions(List<Permission>)
.- Parameters:
grantPermissions
- a consumer that will call methods onPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revokePermissions
The permissions that you want to revoke from this flow.
- Parameters:
revokePermissions
- The permissions that you want to revoke from this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
The permissions that you want to revoke from this flow.
- Parameters:
revokePermissions
- The permissions that you want to revoke from this flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateFlowPermissionsRequest.Builder revokePermissions(Consumer<Permission.Builder>... revokePermissions) The permissions that you want to revoke from this flow.
This is a convenience method that creates an instance of thePermission.Builder
avoiding the need to create one manually viaPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torevokePermissions(List<Permission>)
.- Parameters:
revokePermissions
- a consumer that will call methods onPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateFlowPermissionsRequest.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
UpdateFlowPermissionsRequest.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.
-