Interface UpdateThemePermissionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateThemePermissionsRequest.Builder,UpdateThemePermissionsRequest>,QuickSightRequest.Builder,SdkBuilder<UpdateThemePermissionsRequest.Builder,UpdateThemePermissionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateThemePermissionsRequest
public static interface UpdateThemePermissionsRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<UpdateThemePermissionsRequest.Builder,UpdateThemePermissionsRequest>
-
-
Method Summary
-
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 Detail
-
awsAccountId
UpdateThemePermissionsRequest.Builder awsAccountId(String 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
UpdateThemePermissionsRequest.Builder themeId(String 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
UpdateThemePermissionsRequest.Builder grantPermissions(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
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.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#grantPermissions(List.) - 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:
#grantPermissions(java.util.Collection)
-
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
UpdateThemePermissionsRequest.Builder revokePermissions(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
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.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#revokePermissions(List.) - 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:
#revokePermissions(java.util.Collection)
-
overrideConfiguration
UpdateThemePermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateThemePermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-