pub struct CreateThemeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateTheme
.
Creates a theme.
A theme is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.
Implementations§
source§impl CreateThemeFluentBuilder
impl CreateThemeFluentBuilder
sourcepub fn as_input(&self) -> &CreateThemeInputBuilder
pub fn as_input(&self) -> &CreateThemeInputBuilder
Access the CreateTheme as a reference.
sourcepub async fn send(
self
) -> Result<CreateThemeOutput, SdkError<CreateThemeError, HttpResponse>>
pub async fn send( self ) -> Result<CreateThemeOutput, SdkError<CreateThemeError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateThemeOutput, CreateThemeError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateThemeOutput, CreateThemeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account where you want to store the new theme.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account where you want to store the new theme.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account where you want to store the new theme.
sourcepub fn theme_id(self, input: impl Into<String>) -> Self
pub fn theme_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_theme_id(self, input: Option<String>) -> Self
pub fn set_theme_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_theme_id(&self) -> &Option<String>
pub fn get_theme_id(&self) -> &Option<String>
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.
sourcepub fn base_theme_id(self, input: impl Into<String>) -> Self
pub fn base_theme_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_base_theme_id(self, input: Option<String>) -> Self
pub fn set_base_theme_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_base_theme_id(&self) -> &Option<String>
pub fn get_base_theme_id(&self) -> &Option<String>
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.
sourcepub fn version_description(self, input: impl Into<String>) -> Self
pub fn version_description(self, input: impl Into<String>) -> Self
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 the VersionDescription
field.
sourcepub fn set_version_description(self, input: Option<String>) -> Self
pub fn set_version_description(self, input: Option<String>) -> Self
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 the VersionDescription
field.
sourcepub fn get_version_description(&self) -> &Option<String>
pub fn get_version_description(&self) -> &Option<String>
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 the VersionDescription
field.
sourcepub fn configuration(self, input: ThemeConfiguration) -> Self
pub fn configuration(self, input: ThemeConfiguration) -> Self
The theme configuration, which contains the theme display properties.
sourcepub fn set_configuration(self, input: Option<ThemeConfiguration>) -> Self
pub fn set_configuration(self, input: Option<ThemeConfiguration>) -> Self
The theme configuration, which contains the theme display properties.
sourcepub fn get_configuration(&self) -> &Option<ThemeConfiguration>
pub fn get_configuration(&self) -> &Option<ThemeConfiguration>
The theme configuration, which contains the theme display properties.
sourcepub fn permissions(self, input: ResourcePermission) -> Self
pub fn permissions(self, input: ResourcePermission) -> Self
Appends an item to Permissions
.
To override the contents of this collection use set_permissions
.
A valid grouping of resource permissions to apply to the new theme.
sourcepub fn set_permissions(self, input: Option<Vec<ResourcePermission>>) -> Self
pub fn set_permissions(self, input: Option<Vec<ResourcePermission>>) -> Self
A valid grouping of resource permissions to apply to the new theme.
sourcepub fn get_permissions(&self) -> &Option<Vec<ResourcePermission>>
pub fn get_permissions(&self) -> &Option<Vec<ResourcePermission>>
A valid grouping of resource permissions to apply to the new theme.
Appends an item to Tags
.
To override the contents of this collection use set_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.
A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
Trait Implementations§
source§impl Clone for CreateThemeFluentBuilder
impl Clone for CreateThemeFluentBuilder
source§fn clone(&self) -> CreateThemeFluentBuilder
fn clone(&self) -> CreateThemeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more