Interface UpdateThemePermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateThemePermissionsRequest.Builder,
,UpdateThemePermissionsRequest> QuickSightRequest.Builder
,SdkBuilder<UpdateThemePermissionsRequest.Builder,
,UpdateThemePermissionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateThemePermissionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The ID of the Amazon Web Services account that contains the theme.grantPermissions
(Collection<ResourcePermission> grantPermissions) A list of resource permissions to be granted for the theme.grantPermissions
(Consumer<ResourcePermission.Builder>... grantPermissions) A list of resource permissions to be granted for the theme.grantPermissions
(ResourcePermission... grantPermissions) A list of resource permissions to be granted for the theme.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 list of resource permissions to be revoked from the theme.revokePermissions
(Consumer<ResourcePermission.Builder>... revokePermissions) A list of resource permissions to be revoked from the theme.revokePermissions
(ResourcePermission... revokePermissions) A list of resource permissions to be revoked from the theme.The ID for the theme.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 theme.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account that contains the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
themeId
The ID for the theme.
- Parameters:
themeId
- The ID for the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateThemePermissionsRequest.Builder grantPermissions(Collection<ResourcePermission> grantPermissions) A list of resource permissions to be granted for the theme.
- Parameters:
grantPermissions
- A list of resource permissions to be granted for the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
A list of resource permissions to be granted for the theme.
- Parameters:
grantPermissions
- A list of resource permissions to be granted for the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateThemePermissionsRequest.Builder grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions) A list of resource permissions to be granted for the theme.
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
UpdateThemePermissionsRequest.Builder revokePermissions(Collection<ResourcePermission> revokePermissions) A list of resource permissions to be revoked from the theme.
- Parameters:
revokePermissions
- A list of resource permissions to be revoked from the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
A list of resource permissions to be revoked from the theme.
- Parameters:
revokePermissions
- A list of resource permissions to be revoked from the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateThemePermissionsRequest.Builder revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions) A list of resource permissions to be revoked from the theme.
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
UpdateThemePermissionsRequest.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
UpdateThemePermissionsRequest.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.
-