Interface CreateThemeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateThemeRequest.Builder,CreateThemeRequest>,QuickSightRequest.Builder,SdkBuilder<CreateThemeRequest.Builder,CreateThemeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateThemeRequest
@Mutable @NotThreadSafe public static interface CreateThemeRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<CreateThemeRequest.Builder,CreateThemeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateThemeRequest.BuilderawsAccountId(String awsAccountId)The ID of the Amazon Web Services account where you want to store the new theme.CreateThemeRequest.BuilderbaseThemeId(String baseThemeId)The ID of the theme that a custom theme will inherit from.default CreateThemeRequest.Builderconfiguration(Consumer<ThemeConfiguration.Builder> configuration)The theme configuration, which contains the theme display properties.CreateThemeRequest.Builderconfiguration(ThemeConfiguration configuration)The theme configuration, which contains the theme display properties.CreateThemeRequest.Buildername(String name)A display name for the theme.CreateThemeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateThemeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateThemeRequest.Builderpermissions(Collection<ResourcePermission> permissions)A valid grouping of resource permissions to apply to the new theme.CreateThemeRequest.Builderpermissions(Consumer<ResourcePermission.Builder>... permissions)A valid grouping of resource permissions to apply to the new theme.CreateThemeRequest.Builderpermissions(ResourcePermission... permissions)A valid grouping of resource permissions to apply to the new theme.CreateThemeRequest.Buildertags(Collection<Tag> tags)A map of the key-value pairs for the resource tag or tags that you want to add to the resource.CreateThemeRequest.Buildertags(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.CreateThemeRequest.Buildertags(Tag... tags)A map of the key-value pairs for the resource tag or tags that you want to add to the resource.CreateThemeRequest.BuilderthemeId(String themeId)An ID for the theme that you want to create.CreateThemeRequest.BuilderversionDescription(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
CreateThemeRequest.Builder awsAccountId(String 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
CreateThemeRequest.Builder themeId(String 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
CreateThemeRequest.Builder name(String 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
CreateThemeRequest.Builder baseThemeId(String 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
ListThemesor 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, useListThemesor choose Themes from within an analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDescription
CreateThemeRequest.Builder versionDescription(String versionDescription)
A description of the first version of the theme that you're creating. Every time
UpdateThemeis called, a new version is created. Each version of the theme has a description of the version in theVersionDescriptionfield.- Parameters:
versionDescription- A description of the first version of the theme that you're creating. Every timeUpdateThemeis called, a new version is created. Each version of the theme has a description of the version in theVersionDescriptionfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
CreateThemeRequest.Builder configuration(ThemeConfiguration 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.Builderavoiding the need to create one manually viaThemeConfiguration.builder().When the
Consumercompletes,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:
configuration(ThemeConfiguration)
-
permissions
CreateThemeRequest.Builder permissions(Collection<ResourcePermission> 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
CreateThemeRequest.Builder permissions(ResourcePermission... 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
CreateThemeRequest.Builder permissions(Consumer<ResourcePermission.Builder>... permissions)
A valid grouping of resource permissions to apply to the new 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#permissions(List.) - 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:
#permissions(java.util.Collection)
-
tags
CreateThemeRequest.Builder 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.
- 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
CreateThemeRequest.Builder tags(Tag... 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
CreateThemeRequest.Builder 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.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateThemeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateThemeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-