#[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
The attribute to be changed.
sourcepub fn set_attribute(self, input: Option<ResourceAttribute>) -> Self
pub fn set_attribute(self, input: Option<ResourceAttribute>) -> Self
The attribute to be changed.
sourcepub fn get_attribute(&self) -> &Option<ResourceAttribute>
pub fn get_attribute(&self) -> &Option<ResourceAttribute>
The attribute to be changed.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
If the attribute is Properties
, the value is the name of the property. Otherwise, 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 is Properties
, the value is the name of the property. Otherwise, the value is null.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
If the attribute is Properties
, the value is the name of the property. Otherwise, the value is null.
sourcepub fn requires_recreation(self, input: RequiresRecreation) -> Self
pub fn requires_recreation(self, input: RequiresRecreation) -> Self
If the attribute is Properties
, indicates whether a change to this property causes the resource to be re-created.
sourcepub fn set_requires_recreation(self, input: Option<RequiresRecreation>) -> Self
pub fn set_requires_recreation(self, input: Option<RequiresRecreation>) -> Self
If the attribute is Properties
, indicates whether a change to this property causes the resource to be re-created.
sourcepub fn get_requires_recreation(&self) -> &Option<RequiresRecreation>
pub fn get_requires_recreation(&self) -> &Option<RequiresRecreation>
If the attribute is Properties
, indicates whether a change to this property causes the resource to be re-created.
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 ==
.impl StructuralPartialEq for ResourceTargetDefinitionBuilder
Auto Trait Implementations§
impl Freeze for ResourceTargetDefinitionBuilder
impl RefUnwindSafe for ResourceTargetDefinitionBuilder
impl Send for ResourceTargetDefinitionBuilder
impl Sync for ResourceTargetDefinitionBuilder
impl Unpin for ResourceTargetDefinitionBuilder
impl UnwindSafe for ResourceTargetDefinitionBuilder
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