Struct aws_sdk_quicksight::operation::describe_template::builders::DescribeTemplateInputBuilder
source · #[non_exhaustive]pub struct DescribeTemplateInputBuilder { /* private fields */ }Expand description
A builder for DescribeTemplateInput.
Implementations§
source§impl DescribeTemplateInputBuilder
impl DescribeTemplateInputBuilder
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're describing.
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're describing.
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're describing.
sourcepub fn template_id(self, input: impl Into<String>) -> Self
pub fn template_id(self, input: impl Into<String>) -> Self
The 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
The ID for the template.
sourcepub fn get_template_id(&self) -> &Option<String>
pub fn get_template_id(&self) -> &Option<String>
The ID for the template.
sourcepub fn version_number(self, input: i64) -> Self
pub fn version_number(self, input: i64) -> Self
(Optional) The number for the version to describe. If a VersionNumber parameter value isn't provided, the latest version of the template is described.
sourcepub fn set_version_number(self, input: Option<i64>) -> Self
pub fn set_version_number(self, input: Option<i64>) -> Self
(Optional) The number for the version to describe. If a VersionNumber parameter value isn't provided, the latest version of the template is described.
sourcepub fn get_version_number(&self) -> &Option<i64>
pub fn get_version_number(&self) -> &Option<i64>
(Optional) The number for the version to describe. If a VersionNumber parameter value isn't provided, the latest version of the template is described.
sourcepub fn alias_name(self, input: impl Into<String>) -> Self
pub fn alias_name(self, input: impl Into<String>) -> Self
The alias of the template that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
sourcepub fn set_alias_name(self, input: Option<String>) -> Self
pub fn set_alias_name(self, input: Option<String>) -> Self
The alias of the template that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
sourcepub fn get_alias_name(&self) -> &Option<String>
pub fn get_alias_name(&self) -> &Option<String>
The alias of the template that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
sourcepub fn build(self) -> Result<DescribeTemplateInput, BuildError>
pub fn build(self) -> Result<DescribeTemplateInput, BuildError>
Consumes the builder and constructs a DescribeTemplateInput.
source§impl DescribeTemplateInputBuilder
impl DescribeTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeTemplateOutput, SdkError<DescribeTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeTemplateOutput, SdkError<DescribeTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeTemplateInputBuilder
impl Clone for DescribeTemplateInputBuilder
source§fn clone(&self) -> DescribeTemplateInputBuilder
fn clone(&self) -> DescribeTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeTemplateInputBuilder
impl Debug for DescribeTemplateInputBuilder
source§impl Default for DescribeTemplateInputBuilder
impl Default for DescribeTemplateInputBuilder
source§fn default() -> DescribeTemplateInputBuilder
fn default() -> DescribeTemplateInputBuilder
source§impl PartialEq for DescribeTemplateInputBuilder
impl PartialEq for DescribeTemplateInputBuilder
source§fn eq(&self, other: &DescribeTemplateInputBuilder) -> bool
fn eq(&self, other: &DescribeTemplateInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeTemplateInputBuilder
impl RefUnwindSafe for DescribeTemplateInputBuilder
impl Send for DescribeTemplateInputBuilder
impl Sync for DescribeTemplateInputBuilder
impl Unpin for DescribeTemplateInputBuilder
impl UnwindSafe for DescribeTemplateInputBuilder
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