Struct aws_sdk_quicksight::operation::create_template_alias::builders::CreateTemplateAliasInputBuilder
source · #[non_exhaustive]pub struct CreateTemplateAliasInputBuilder { /* private fields */ }Expand description
A builder for CreateTemplateAliasInput.
Implementations§
source§impl CreateTemplateAliasInputBuilder
impl CreateTemplateAliasInputBuilder
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 that contains the template that you creating an alias for.
This field is required.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 that contains the template that you creating an alias for.
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 that contains the template that you creating an alias for.
sourcepub fn template_id(self, input: impl Into<String>) -> Self
pub fn template_id(self, input: impl Into<String>) -> Self
An ID for the template.
This field is required.sourcepub fn set_template_id(self, input: Option<String>) -> Self
pub fn set_template_id(self, input: Option<String>) -> Self
An ID for the template.
sourcepub fn get_template_id(&self) -> &Option<String>
pub fn get_template_id(&self) -> &Option<String>
An ID for the template.
sourcepub fn alias_name(self, input: impl Into<String>) -> Self
pub fn alias_name(self, input: impl Into<String>) -> Self
The name that you want to give to the template alias that you're creating. Don't start the alias name with the $ character. Alias names that start with $ are reserved by Amazon QuickSight.
sourcepub fn set_alias_name(self, input: Option<String>) -> Self
pub fn set_alias_name(self, input: Option<String>) -> Self
The name that you want to give to the template alias that you're creating. Don't start the alias name with the $ character. Alias names that start with $ are reserved by Amazon QuickSight.
sourcepub fn get_alias_name(&self) -> &Option<String>
pub fn get_alias_name(&self) -> &Option<String>
The name that you want to give to the template alias that you're creating. Don't start the alias name with the $ character. Alias names that start with $ are reserved by Amazon QuickSight.
sourcepub fn template_version_number(self, input: i64) -> Self
pub fn template_version_number(self, input: i64) -> Self
The version number of the template.
This field is required.sourcepub fn set_template_version_number(self, input: Option<i64>) -> Self
pub fn set_template_version_number(self, input: Option<i64>) -> Self
The version number of the template.
sourcepub fn get_template_version_number(&self) -> &Option<i64>
pub fn get_template_version_number(&self) -> &Option<i64>
The version number of the template.
sourcepub fn build(self) -> Result<CreateTemplateAliasInput, BuildError>
pub fn build(self) -> Result<CreateTemplateAliasInput, BuildError>
Consumes the builder and constructs a CreateTemplateAliasInput.
source§impl CreateTemplateAliasInputBuilder
impl CreateTemplateAliasInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateTemplateAliasOutput, SdkError<CreateTemplateAliasError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateTemplateAliasOutput, SdkError<CreateTemplateAliasError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTemplateAliasInputBuilder
impl Clone for CreateTemplateAliasInputBuilder
source§fn clone(&self) -> CreateTemplateAliasInputBuilder
fn clone(&self) -> CreateTemplateAliasInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateTemplateAliasInputBuilder
impl Default for CreateTemplateAliasInputBuilder
source§fn default() -> CreateTemplateAliasInputBuilder
fn default() -> CreateTemplateAliasInputBuilder
source§impl PartialEq for CreateTemplateAliasInputBuilder
impl PartialEq for CreateTemplateAliasInputBuilder
source§fn eq(&self, other: &CreateTemplateAliasInputBuilder) -> bool
fn eq(&self, other: &CreateTemplateAliasInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateTemplateAliasInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTemplateAliasInputBuilder
impl RefUnwindSafe for CreateTemplateAliasInputBuilder
impl Send for CreateTemplateAliasInputBuilder
impl Sync for CreateTemplateAliasInputBuilder
impl Unpin for CreateTemplateAliasInputBuilder
impl UnwindSafe for CreateTemplateAliasInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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