Struct aws_sdk_quicksight::types::builders::TemplateVersionBuilder
source · #[non_exhaustive]pub struct TemplateVersionBuilder { /* private fields */ }
Expand description
A builder for TemplateVersion
.
Implementations§
source§impl TemplateVersionBuilder
impl TemplateVersionBuilder
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The time that this template version was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The time that this template version was created.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The time that this template version was created.
sourcepub fn errors(self, input: TemplateError) -> Self
pub fn errors(self, input: TemplateError) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
Errors associated with this template version.
sourcepub fn set_errors(self, input: Option<Vec<TemplateError>>) -> Self
pub fn set_errors(self, input: Option<Vec<TemplateError>>) -> Self
Errors associated with this template version.
sourcepub fn get_errors(&self) -> &Option<Vec<TemplateError>>
pub fn get_errors(&self) -> &Option<Vec<TemplateError>>
Errors associated with this template version.
sourcepub fn version_number(self, input: i64) -> Self
pub fn version_number(self, input: i64) -> Self
The version number of the template version.
sourcepub fn set_version_number(self, input: Option<i64>) -> Self
pub fn set_version_number(self, input: Option<i64>) -> Self
The version number of the template version.
sourcepub fn get_version_number(&self) -> &Option<i64>
pub fn get_version_number(&self) -> &Option<i64>
The version number of the template version.
sourcepub fn status(self, input: ResourceStatus) -> Self
pub fn status(self, input: ResourceStatus) -> Self
The status that is associated with the template.
-
CREATION_IN_PROGRESS
-
CREATION_SUCCESSFUL
-
CREATION_FAILED
-
UPDATE_IN_PROGRESS
-
UPDATE_SUCCESSFUL
-
UPDATE_FAILED
-
DELETED
sourcepub fn set_status(self, input: Option<ResourceStatus>) -> Self
pub fn set_status(self, input: Option<ResourceStatus>) -> Self
The status that is associated with the template.
-
CREATION_IN_PROGRESS
-
CREATION_SUCCESSFUL
-
CREATION_FAILED
-
UPDATE_IN_PROGRESS
-
UPDATE_SUCCESSFUL
-
UPDATE_FAILED
-
DELETED
sourcepub fn get_status(&self) -> &Option<ResourceStatus>
pub fn get_status(&self) -> &Option<ResourceStatus>
The status that is associated with the template.
-
CREATION_IN_PROGRESS
-
CREATION_SUCCESSFUL
-
CREATION_FAILED
-
UPDATE_IN_PROGRESS
-
UPDATE_SUCCESSFUL
-
UPDATE_FAILED
-
DELETED
sourcepub fn data_set_configurations(self, input: DataSetConfiguration) -> Self
pub fn data_set_configurations(self, input: DataSetConfiguration) -> Self
Appends an item to data_set_configurations
.
To override the contents of this collection use set_data_set_configurations
.
Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.
sourcepub fn set_data_set_configurations(
self,
input: Option<Vec<DataSetConfiguration>>,
) -> Self
pub fn set_data_set_configurations( self, input: Option<Vec<DataSetConfiguration>>, ) -> Self
Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.
sourcepub fn get_data_set_configurations(&self) -> &Option<Vec<DataSetConfiguration>>
pub fn get_data_set_configurations(&self) -> &Option<Vec<DataSetConfiguration>>
Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the template.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the template.
sourcepub fn source_entity_arn(self, input: impl Into<String>) -> Self
pub fn source_entity_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
sourcepub fn set_source_entity_arn(self, input: Option<String>) -> Self
pub fn set_source_entity_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
sourcepub fn get_source_entity_arn(&self) -> &Option<String>
pub fn get_source_entity_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
sourcepub fn theme_arn(self, input: impl Into<String>) -> Self
pub fn theme_arn(self, input: impl Into<String>) -> Self
The ARN of the theme associated with this version of the template.
sourcepub fn set_theme_arn(self, input: Option<String>) -> Self
pub fn set_theme_arn(self, input: Option<String>) -> Self
The ARN of the theme associated with this version of the template.
sourcepub fn get_theme_arn(&self) -> &Option<String>
pub fn get_theme_arn(&self) -> &Option<String>
The ARN of the theme associated with this version of the template.
sourcepub fn sheets(self, input: Sheet) -> Self
pub fn sheets(self, input: Sheet) -> Self
Appends an item to sheets
.
To override the contents of this collection use set_sheets
.
A list of the associated sheets with the unique identifier and name of each sheet.
sourcepub fn set_sheets(self, input: Option<Vec<Sheet>>) -> Self
pub fn set_sheets(self, input: Option<Vec<Sheet>>) -> Self
A list of the associated sheets with the unique identifier and name of each sheet.
sourcepub fn get_sheets(&self) -> &Option<Vec<Sheet>>
pub fn get_sheets(&self) -> &Option<Vec<Sheet>>
A list of the associated sheets with the unique identifier and name of each sheet.
sourcepub fn build(self) -> TemplateVersion
pub fn build(self) -> TemplateVersion
Consumes the builder and constructs a TemplateVersion
.
Trait Implementations§
source§impl Clone for TemplateVersionBuilder
impl Clone for TemplateVersionBuilder
source§fn clone(&self) -> TemplateVersionBuilder
fn clone(&self) -> TemplateVersionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TemplateVersionBuilder
impl Debug for TemplateVersionBuilder
source§impl Default for TemplateVersionBuilder
impl Default for TemplateVersionBuilder
source§fn default() -> TemplateVersionBuilder
fn default() -> TemplateVersionBuilder
source§impl PartialEq for TemplateVersionBuilder
impl PartialEq for TemplateVersionBuilder
impl StructuralPartialEq for TemplateVersionBuilder
Auto Trait Implementations§
impl Freeze for TemplateVersionBuilder
impl RefUnwindSafe for TemplateVersionBuilder
impl Send for TemplateVersionBuilder
impl Sync for TemplateVersionBuilder
impl Unpin for TemplateVersionBuilder
impl UnwindSafe for TemplateVersionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more