Interface CreateThemeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateThemeRequest.Builder,
,CreateThemeRequest> QuickSightRequest.Builder
,SdkBuilder<CreateThemeRequest.Builder,
,CreateThemeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateThemeRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The ID of the Amazon Web Services account where you want to store the new theme.baseThemeId
(String baseThemeId) The ID of the theme that a custom theme will inherit from.default CreateThemeRequest.Builder
configuration
(Consumer<ThemeConfiguration.Builder> configuration) The theme configuration, which contains the theme display properties.configuration
(ThemeConfiguration configuration) The theme configuration, which contains the theme display properties.A display name for the theme.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissions
(Collection<ResourcePermission> permissions) A valid grouping of resource permissions to apply to the new theme.permissions
(Consumer<ResourcePermission.Builder>... permissions) A valid grouping of resource permissions to apply to the new theme.permissions
(ResourcePermission... permissions) A valid grouping of resource permissions to apply to the new theme.tags
(Collection<Tag> tags) A map of the key-value pairs for the resource tag or tags that you want to add to the resource.tags
(Consumer<Tag.Builder>... tags) A map of the key-value pairs for the resource tag or tags that you want to add to the resource.A map of the key-value pairs for the resource tag or tags that you want to add to the resource.An ID for the theme that you want to create.versionDescription
(String versionDescription) A description of the first version of the theme that you're creating.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 where you want to store the new theme.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account where you want to store the new theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
themeId
An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.
- Parameters:
themeId
- An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A display name for the theme.
- Parameters:
name
- A display name for the theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseThemeId
The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use
ListThemes
or choose Themes from within an analysis.- Parameters:
baseThemeId
- The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, useListThemes
or choose Themes from within an analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDescription
A description of the first version of the theme that you're creating. Every time
UpdateTheme
is called, a new version is created. Each version of the theme has a description of the version in theVersionDescription
field.- Parameters:
versionDescription
- A description of the first version of the theme that you're creating. Every timeUpdateTheme
is called, a new version is created. Each version of the theme has a description of the version in theVersionDescription
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The theme configuration, which contains the theme display properties.
- Parameters:
configuration
- The theme configuration, which contains the theme display properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateThemeRequest.Builder configuration(Consumer<ThemeConfiguration.Builder> configuration) The theme configuration, which contains the theme display properties.
This is a convenience method that creates an instance of theThemeConfiguration.Builder
avoiding the need to create one manually viaThemeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ThemeConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onThemeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissions
A valid grouping of resource permissions to apply to the new theme.
- Parameters:
permissions
- A valid grouping of resource permissions to apply to the new theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A valid grouping of resource permissions to apply to the new theme.
- Parameters:
permissions
- A valid grouping of resource permissions to apply to the new theme.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A valid grouping of resource permissions to apply to the new 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 topermissions(List<ResourcePermission>)
.- Parameters:
permissions
- 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:
-
tags
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
- Parameters:
tags
- A map of the key-value pairs for the resource tag or tags that you want to add to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
- Parameters:
tags
- A map of the key-value pairs for the resource tag or tags that you want to add to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateThemeRequest.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
CreateThemeRequest.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.
-