#[non_exhaustive]pub struct CreateThemeInputBuilder { /* private fields */ }Expand description
A builder for CreateThemeInput.
Implementations§
source§impl CreateThemeInputBuilder
impl CreateThemeInputBuilder
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.
sourcepub fn build(self) -> Result<CreateThemeInput, BuildError>
pub fn build(self) -> Result<CreateThemeInput, BuildError>
Consumes the builder and constructs a CreateThemeInput.
source§impl CreateThemeInputBuilder
impl CreateThemeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateThemeOutput, SdkError<CreateThemeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateThemeOutput, SdkError<CreateThemeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateThemeInputBuilder
impl Clone for CreateThemeInputBuilder
source§fn clone(&self) -> CreateThemeInputBuilder
fn clone(&self) -> CreateThemeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateThemeInputBuilder
impl Debug for CreateThemeInputBuilder
source§impl Default for CreateThemeInputBuilder
impl Default for CreateThemeInputBuilder
source§fn default() -> CreateThemeInputBuilder
fn default() -> CreateThemeInputBuilder
source§impl PartialEq<CreateThemeInputBuilder> for CreateThemeInputBuilder
impl PartialEq<CreateThemeInputBuilder> for CreateThemeInputBuilder
source§fn eq(&self, other: &CreateThemeInputBuilder) -> bool
fn eq(&self, other: &CreateThemeInputBuilder) -> bool
self and other values to be equal, and is used
by ==.