Struct aws_sdk_cloudformation::operation::get_generated_template::builders::GetGeneratedTemplateInputBuilder
source · #[non_exhaustive]pub struct GetGeneratedTemplateInputBuilder { /* private fields */ }
Expand description
A builder for GetGeneratedTemplateInput
.
Implementations§
source§impl GetGeneratedTemplateInputBuilder
impl GetGeneratedTemplateInputBuilder
sourcepub fn format(self, input: TemplateFormat) -> Self
pub fn format(self, input: TemplateFormat) -> Self
The language to use to retrieve for the generated template. Supported values are:
-
JSON
-
YAML
sourcepub fn set_format(self, input: Option<TemplateFormat>) -> Self
pub fn set_format(self, input: Option<TemplateFormat>) -> Self
The language to use to retrieve for the generated template. Supported values are:
-
JSON
-
YAML
sourcepub fn get_format(&self) -> &Option<TemplateFormat>
pub fn get_format(&self) -> &Option<TemplateFormat>
The language to use to retrieve for the generated template. Supported values are:
-
JSON
-
YAML
sourcepub fn generated_template_name(self, input: impl Into<String>) -> Self
pub fn generated_template_name(self, input: impl Into<String>) -> Self
The name or Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
sourcepub fn set_generated_template_name(self, input: Option<String>) -> Self
pub fn set_generated_template_name(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
sourcepub fn get_generated_template_name(&self) -> &Option<String>
pub fn get_generated_template_name(&self) -> &Option<String>
The name or Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}
. For example, arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc
.
sourcepub fn build(self) -> Result<GetGeneratedTemplateInput, BuildError>
pub fn build(self) -> Result<GetGeneratedTemplateInput, BuildError>
Consumes the builder and constructs a GetGeneratedTemplateInput
.
source§impl GetGeneratedTemplateInputBuilder
impl GetGeneratedTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetGeneratedTemplateOutput, SdkError<GetGeneratedTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetGeneratedTemplateOutput, SdkError<GetGeneratedTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetGeneratedTemplateInputBuilder
impl Clone for GetGeneratedTemplateInputBuilder
source§fn clone(&self) -> GetGeneratedTemplateInputBuilder
fn clone(&self) -> GetGeneratedTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetGeneratedTemplateInputBuilder
impl Default for GetGeneratedTemplateInputBuilder
source§fn default() -> GetGeneratedTemplateInputBuilder
fn default() -> GetGeneratedTemplateInputBuilder
source§impl PartialEq for GetGeneratedTemplateInputBuilder
impl PartialEq for GetGeneratedTemplateInputBuilder
source§fn eq(&self, other: &GetGeneratedTemplateInputBuilder) -> bool
fn eq(&self, other: &GetGeneratedTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetGeneratedTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for GetGeneratedTemplateInputBuilder
impl RefUnwindSafe for GetGeneratedTemplateInputBuilder
impl Send for GetGeneratedTemplateInputBuilder
impl Sync for GetGeneratedTemplateInputBuilder
impl Unpin for GetGeneratedTemplateInputBuilder
impl UnwindSafe for GetGeneratedTemplateInputBuilder
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> 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