Struct aws_sdk_cloudformation::operation::update_generated_template::builders::UpdateGeneratedTemplateInputBuilder
source · #[non_exhaustive]pub struct UpdateGeneratedTemplateInputBuilder { /* private fields */ }
Expand description
A builder for UpdateGeneratedTemplateInput
.
Implementations§
source§impl UpdateGeneratedTemplateInputBuilder
impl UpdateGeneratedTemplateInputBuilder
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 a generated template.
This field is required.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 a generated template.
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 a generated template.
sourcepub fn new_generated_template_name(self, input: impl Into<String>) -> Self
pub fn new_generated_template_name(self, input: impl Into<String>) -> Self
An optional new name to assign to the generated template.
sourcepub fn set_new_generated_template_name(self, input: Option<String>) -> Self
pub fn set_new_generated_template_name(self, input: Option<String>) -> Self
An optional new name to assign to the generated template.
sourcepub fn get_new_generated_template_name(&self) -> &Option<String>
pub fn get_new_generated_template_name(&self) -> &Option<String>
An optional new name to assign to the generated template.
sourcepub fn add_resources(self, input: ResourceDefinition) -> Self
pub fn add_resources(self, input: ResourceDefinition) -> Self
Appends an item to add_resources
.
To override the contents of this collection use set_add_resources
.
An optional list of resources to be added to the generated template.
sourcepub fn set_add_resources(self, input: Option<Vec<ResourceDefinition>>) -> Self
pub fn set_add_resources(self, input: Option<Vec<ResourceDefinition>>) -> Self
An optional list of resources to be added to the generated template.
sourcepub fn get_add_resources(&self) -> &Option<Vec<ResourceDefinition>>
pub fn get_add_resources(&self) -> &Option<Vec<ResourceDefinition>>
An optional list of resources to be added to the generated template.
sourcepub fn remove_resources(self, input: impl Into<String>) -> Self
pub fn remove_resources(self, input: impl Into<String>) -> Self
Appends an item to remove_resources
.
To override the contents of this collection use set_remove_resources
.
A list of logical ids for resources to remove from the generated template.
sourcepub fn set_remove_resources(self, input: Option<Vec<String>>) -> Self
pub fn set_remove_resources(self, input: Option<Vec<String>>) -> Self
A list of logical ids for resources to remove from the generated template.
sourcepub fn get_remove_resources(&self) -> &Option<Vec<String>>
pub fn get_remove_resources(&self) -> &Option<Vec<String>>
A list of logical ids for resources to remove from the generated template.
sourcepub fn refresh_all_resources(self, input: bool) -> Self
pub fn refresh_all_resources(self, input: bool) -> Self
If true
, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.
sourcepub fn set_refresh_all_resources(self, input: Option<bool>) -> Self
pub fn set_refresh_all_resources(self, input: Option<bool>) -> Self
If true
, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.
sourcepub fn get_refresh_all_resources(&self) -> &Option<bool>
pub fn get_refresh_all_resources(&self) -> &Option<bool>
If true
, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.
sourcepub fn template_configuration(self, input: TemplateConfiguration) -> Self
pub fn template_configuration(self, input: TemplateConfiguration) -> Self
The configuration details of the generated template, including the DeletionPolicy
and UpdateReplacePolicy
.
sourcepub fn set_template_configuration(
self,
input: Option<TemplateConfiguration>
) -> Self
pub fn set_template_configuration( self, input: Option<TemplateConfiguration> ) -> Self
The configuration details of the generated template, including the DeletionPolicy
and UpdateReplacePolicy
.
sourcepub fn get_template_configuration(&self) -> &Option<TemplateConfiguration>
pub fn get_template_configuration(&self) -> &Option<TemplateConfiguration>
The configuration details of the generated template, including the DeletionPolicy
and UpdateReplacePolicy
.
sourcepub fn build(self) -> Result<UpdateGeneratedTemplateInput, BuildError>
pub fn build(self) -> Result<UpdateGeneratedTemplateInput, BuildError>
Consumes the builder and constructs a UpdateGeneratedTemplateInput
.
source§impl UpdateGeneratedTemplateInputBuilder
impl UpdateGeneratedTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateGeneratedTemplateOutput, SdkError<UpdateGeneratedTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateGeneratedTemplateOutput, SdkError<UpdateGeneratedTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateGeneratedTemplateInputBuilder
impl Clone for UpdateGeneratedTemplateInputBuilder
source§fn clone(&self) -> UpdateGeneratedTemplateInputBuilder
fn clone(&self) -> UpdateGeneratedTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateGeneratedTemplateInputBuilder
impl Default for UpdateGeneratedTemplateInputBuilder
source§fn default() -> UpdateGeneratedTemplateInputBuilder
fn default() -> UpdateGeneratedTemplateInputBuilder
source§impl PartialEq for UpdateGeneratedTemplateInputBuilder
impl PartialEq for UpdateGeneratedTemplateInputBuilder
source§fn eq(&self, other: &UpdateGeneratedTemplateInputBuilder) -> bool
fn eq(&self, other: &UpdateGeneratedTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.