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 ==.