#[non_exhaustive]pub struct GetTemplateOutputBuilder { /* private fields */ }
Expand description
A builder for GetTemplateOutput
.
Implementations§
source§impl GetTemplateOutputBuilder
impl GetTemplateOutputBuilder
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)
CloudFormation returns the same template that was used when the stack was created.
sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)
CloudFormation returns the same template that was used when the stack was created.
sourcepub fn get_template_body(&self) -> &Option<String>
pub fn get_template_body(&self) -> &Option<String>
Structure containing the template body. (For more information, go to Template Anatomy in the CloudFormation User Guide.)
CloudFormation returns the same template that was used when the stack was created.
sourcepub fn stages_available(self, input: TemplateStage) -> Self
pub fn stages_available(self, input: TemplateStage) -> Self
Appends an item to stages_available
.
To override the contents of this collection use set_stages_available
.
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After CloudFormation finishes creating the change set, the Processed
template becomes available.
sourcepub fn set_stages_available(self, input: Option<Vec<TemplateStage>>) -> Self
pub fn set_stages_available(self, input: Option<Vec<TemplateStage>>) -> Self
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After CloudFormation finishes creating the change set, the Processed
template becomes available.
sourcepub fn get_stages_available(&self) -> &Option<Vec<TemplateStage>>
pub fn get_stages_available(&self) -> &Option<Vec<TemplateStage>>
The stage of the template that you can retrieve. For stacks, the Original
and Processed
templates are always available. For change sets, the Original
template is always available. After CloudFormation finishes creating the change set, the Processed
template becomes available.
sourcepub fn build(self) -> GetTemplateOutput
pub fn build(self) -> GetTemplateOutput
Consumes the builder and constructs a GetTemplateOutput
.
Trait Implementations§
source§impl Clone for GetTemplateOutputBuilder
impl Clone for GetTemplateOutputBuilder
source§fn clone(&self) -> GetTemplateOutputBuilder
fn clone(&self) -> GetTemplateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTemplateOutputBuilder
impl Debug for GetTemplateOutputBuilder
source§impl Default for GetTemplateOutputBuilder
impl Default for GetTemplateOutputBuilder
source§fn default() -> GetTemplateOutputBuilder
fn default() -> GetTemplateOutputBuilder
source§impl PartialEq for GetTemplateOutputBuilder
impl PartialEq for GetTemplateOutputBuilder
source§fn eq(&self, other: &GetTemplateOutputBuilder) -> bool
fn eq(&self, other: &GetTemplateOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTemplateOutputBuilder
Auto Trait Implementations§
impl Freeze for GetTemplateOutputBuilder
impl RefUnwindSafe for GetTemplateOutputBuilder
impl Send for GetTemplateOutputBuilder
impl Sync for GetTemplateOutputBuilder
impl Unpin for GetTemplateOutputBuilder
impl UnwindSafe for GetTemplateOutputBuilder
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