Interface UpdateAnalysisPermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAnalysisPermissionsRequest.Builder,
,UpdateAnalysisPermissionsRequest> QuickSightRequest.Builder
,SdkBuilder<UpdateAnalysisPermissionsRequest.Builder,
,UpdateAnalysisPermissionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAnalysisPermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionanalysisId
(String analysisId) The ID of the analysis whose permissions you're updating.awsAccountId
(String awsAccountId) The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating.grantPermissions
(Collection<ResourcePermission> grantPermissions) A structure that describes the permissions to add and the principal to add them to.grantPermissions
(Consumer<ResourcePermission.Builder>... grantPermissions) A structure that describes the permissions to add and the principal to add them to.grantPermissions
(ResourcePermission... grantPermissions) A structure that describes the permissions to add and the principal to add them to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.revokePermissions
(Collection<ResourcePermission> revokePermissions) A structure that describes the permissions to remove and the principal to remove them from.revokePermissions
(Consumer<ResourcePermission.Builder>... revokePermissions) A structure that describes the permissions to remove and the principal to remove them from.revokePermissions
(ResourcePermission... revokePermissions) A structure that describes the permissions to remove and the principal to remove them from.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, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisId
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
- Parameters:
analysisId
- The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateAnalysisPermissionsRequest.Builder grantPermissions(Collection<ResourcePermission> grantPermissions) A structure that describes the permissions to add and the principal to add them to.
- Parameters:
grantPermissions
- A structure that describes the permissions to add and the principal to add them to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
A structure that describes the permissions to add and the principal to add them to.
- Parameters:
grantPermissions
- A structure that describes the permissions to add and the principal to add them to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateAnalysisPermissionsRequest.Builder grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions) A structure that describes the permissions to add and the principal to add them to.
This is a convenience method that creates an instance of theResourcePermission.Builder
avoiding the need to create one manually viaResourcePermission.builder()
.When the
Consumer
completes,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
UpdateAnalysisPermissionsRequest.Builder revokePermissions(Collection<ResourcePermission> revokePermissions) A structure that describes the permissions to remove and the principal to remove them from.
- Parameters:
revokePermissions
- A structure that describes the permissions to remove and the principal to remove them from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
A structure that describes the permissions to remove and the principal to remove them from.
- Parameters:
revokePermissions
- A structure that describes the permissions to remove and the principal to remove them from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateAnalysisPermissionsRequest.Builder revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions) A structure that describes the permissions to remove and the principal to remove them from.
This is a convenience method that creates an instance of theResourcePermission.Builder
avoiding the need to create one manually viaResourcePermission.builder()
.When the
Consumer
completes,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
UpdateAnalysisPermissionsRequest.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
UpdateAnalysisPermissionsRequest.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.
-