#[non_exhaustive]pub struct ResourceTargetDefinitionBuilder { /* private fields */ }
Expand description
A builder for ResourceTargetDefinition
.
Implementations§
source§impl ResourceTargetDefinitionBuilder
impl ResourceTargetDefinitionBuilder
sourcepub fn attribute(self, input: ResourceAttribute) -> Self
pub fn attribute(self, input: ResourceAttribute) -> Self
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata
, Properties
, or Tags
.
sourcepub fn set_attribute(self, input: Option<ResourceAttribute>) -> Self
pub fn set_attribute(self, input: Option<ResourceAttribute>) -> Self
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata
, Properties
, or Tags
.
sourcepub fn get_attribute(&self) -> &Option<ResourceAttribute>
pub fn get_attribute(&self) -> &Option<ResourceAttribute>
Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata
, Properties
, or Tags
.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
If the Attribute
value is Properties
, the name of the property. For all other attributes, the value is null.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
If the Attribute
value is Properties
, the name of the property. For all other attributes, the value is null.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
If the Attribute
value is Properties
, the name of the property. For all other attributes, the value is null.
sourcepub fn requires_recreation(self, input: RequiresRecreation) -> Self
pub fn requires_recreation(self, input: RequiresRecreation) -> Self
If the Attribute
value is Properties
, indicates whether a change to this property causes the resource to be recreated. The value can be Never
, Always
, or Conditionally
. To determine the conditions for a Conditionally
recreation, see the update behavior for that property in the CloudFormation User Guide.
sourcepub fn set_requires_recreation(self, input: Option<RequiresRecreation>) -> Self
pub fn set_requires_recreation(self, input: Option<RequiresRecreation>) -> Self
If the Attribute
value is Properties
, indicates whether a change to this property causes the resource to be recreated. The value can be Never
, Always
, or Conditionally
. To determine the conditions for a Conditionally
recreation, see the update behavior for that property in the CloudFormation User Guide.
sourcepub fn get_requires_recreation(&self) -> &Option<RequiresRecreation>
pub fn get_requires_recreation(&self) -> &Option<RequiresRecreation>
If the Attribute
value is Properties
, indicates whether a change to this property causes the resource to be recreated. The value can be Never
, Always
, or Conditionally
. To determine the conditions for a Conditionally
recreation, see the update behavior for that property in the CloudFormation User Guide.
sourcepub fn build(self) -> ResourceTargetDefinition
pub fn build(self) -> ResourceTargetDefinition
Consumes the builder and constructs a ResourceTargetDefinition
.
Trait Implementations§
source§impl Clone for ResourceTargetDefinitionBuilder
impl Clone for ResourceTargetDefinitionBuilder
source§fn clone(&self) -> ResourceTargetDefinitionBuilder
fn clone(&self) -> ResourceTargetDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResourceTargetDefinitionBuilder
impl Default for ResourceTargetDefinitionBuilder
source§fn default() -> ResourceTargetDefinitionBuilder
fn default() -> ResourceTargetDefinitionBuilder
source§impl PartialEq for ResourceTargetDefinitionBuilder
impl PartialEq for ResourceTargetDefinitionBuilder
source§fn eq(&self, other: &ResourceTargetDefinitionBuilder) -> bool
fn eq(&self, other: &ResourceTargetDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.