#[non_exhaustive]pub struct ResourceChangeDetailBuilder { /* private fields */ }
Expand description
A builder for ResourceChangeDetail
.
Implementations§
source§impl ResourceChangeDetailBuilder
impl ResourceChangeDetailBuilder
sourcepub fn target(self, input: ResourceTargetDefinition) -> Self
pub fn target(self, input: ResourceTargetDefinition) -> Self
Information about the resource attribute to be modified.
sourcepub fn set_target(self, input: Option<ResourceTargetDefinition>) -> Self
pub fn set_target(self, input: Option<ResourceTargetDefinition>) -> Self
Information about the resource attribute to be modified.
sourcepub fn get_target(&self) -> &Option<ResourceTargetDefinition>
pub fn get_target(&self) -> &Option<ResourceTargetDefinition>
Information about the resource attribute to be modified.
sourcepub fn evaluation(self, input: EvaluationType) -> Self
pub fn evaluation(self, input: EvaluationType) -> Self
For static evaluations, the value of the resource attribute will change and the new value is known. For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.
sourcepub fn set_evaluation(self, input: Option<EvaluationType>) -> Self
pub fn set_evaluation(self, input: Option<EvaluationType>) -> Self
For static evaluations, the value of the resource attribute will change and the new value is known. For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.
sourcepub fn get_evaluation(&self) -> &Option<EvaluationType>
pub fn get_evaluation(&self) -> &Option<EvaluationType>
For static evaluations, the value of the resource attribute will change and the new value is known. For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.
sourcepub fn causing_entity(self, input: impl Into<String>) -> Self
pub fn causing_entity(self, input: impl Into<String>) -> Self
The ID of the entity that caused the change.
sourcepub fn set_causing_entity(self, input: Option<String>) -> Self
pub fn set_causing_entity(self, input: Option<String>) -> Self
The ID of the entity that caused the change.
sourcepub fn get_causing_entity(&self) -> &Option<String>
pub fn get_causing_entity(&self) -> &Option<String>
The ID of the entity that caused the change.
sourcepub fn build(self) -> ResourceChangeDetail
pub fn build(self) -> ResourceChangeDetail
Consumes the builder and constructs a ResourceChangeDetail
.
Trait Implementations§
source§impl Clone for ResourceChangeDetailBuilder
impl Clone for ResourceChangeDetailBuilder
source§fn clone(&self) -> ResourceChangeDetailBuilder
fn clone(&self) -> ResourceChangeDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceChangeDetailBuilder
impl Debug for ResourceChangeDetailBuilder
source§impl Default for ResourceChangeDetailBuilder
impl Default for ResourceChangeDetailBuilder
source§fn default() -> ResourceChangeDetailBuilder
fn default() -> ResourceChangeDetailBuilder
source§impl PartialEq for ResourceChangeDetailBuilder
impl PartialEq for ResourceChangeDetailBuilder
source§fn eq(&self, other: &ResourceChangeDetailBuilder) -> bool
fn eq(&self, other: &ResourceChangeDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceChangeDetailBuilder
Auto Trait Implementations§
impl Freeze for ResourceChangeDetailBuilder
impl RefUnwindSafe for ResourceChangeDetailBuilder
impl Send for ResourceChangeDetailBuilder
impl Sync for ResourceChangeDetailBuilder
impl Unpin for ResourceChangeDetailBuilder
impl UnwindSafe for ResourceChangeDetailBuilder
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