#[non_exhaustive]pub struct ChangeSetHookResourceTargetDetailsBuilder { /* private fields */ }
Expand description
A builder for ChangeSetHookResourceTargetDetails
.
Implementations§
source§impl ChangeSetHookResourceTargetDetailsBuilder
impl ChangeSetHookResourceTargetDetailsBuilder
sourcepub fn logical_resource_id(self, input: impl Into<String>) -> Self
pub fn logical_resource_id(self, input: impl Into<String>) -> Self
The resource's logical ID, which is defined in the stack's template.
sourcepub fn set_logical_resource_id(self, input: Option<String>) -> Self
pub fn set_logical_resource_id(self, input: Option<String>) -> Self
The resource's logical ID, which is defined in the stack's template.
sourcepub fn get_logical_resource_id(&self) -> &Option<String>
pub fn get_logical_resource_id(&self) -> &Option<String>
The resource's logical ID, which is defined in the stack's template.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of CloudFormation resource, such as AWS::S3::Bucket
.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of CloudFormation resource, such as AWS::S3::Bucket
.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The type of CloudFormation resource, such as AWS::S3::Bucket
.
sourcepub fn resource_action(self, input: ChangeAction) -> Self
pub fn resource_action(self, input: ChangeAction) -> Self
Specifies the action of the resource.
sourcepub fn set_resource_action(self, input: Option<ChangeAction>) -> Self
pub fn set_resource_action(self, input: Option<ChangeAction>) -> Self
Specifies the action of the resource.
sourcepub fn get_resource_action(&self) -> &Option<ChangeAction>
pub fn get_resource_action(&self) -> &Option<ChangeAction>
Specifies the action of the resource.
sourcepub fn build(self) -> ChangeSetHookResourceTargetDetails
pub fn build(self) -> ChangeSetHookResourceTargetDetails
Consumes the builder and constructs a ChangeSetHookResourceTargetDetails
.
Trait Implementations§
source§impl Clone for ChangeSetHookResourceTargetDetailsBuilder
impl Clone for ChangeSetHookResourceTargetDetailsBuilder
source§fn clone(&self) -> ChangeSetHookResourceTargetDetailsBuilder
fn clone(&self) -> ChangeSetHookResourceTargetDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ChangeSetHookResourceTargetDetailsBuilder
impl Default for ChangeSetHookResourceTargetDetailsBuilder
source§fn default() -> ChangeSetHookResourceTargetDetailsBuilder
fn default() -> ChangeSetHookResourceTargetDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ChangeSetHookResourceTargetDetailsBuilder
impl PartialEq for ChangeSetHookResourceTargetDetailsBuilder
source§fn eq(&self, other: &ChangeSetHookResourceTargetDetailsBuilder) -> bool
fn eq(&self, other: &ChangeSetHookResourceTargetDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChangeSetHookResourceTargetDetailsBuilder
Auto Trait Implementations§
impl Freeze for ChangeSetHookResourceTargetDetailsBuilder
impl RefUnwindSafe for ChangeSetHookResourceTargetDetailsBuilder
impl Send for ChangeSetHookResourceTargetDetailsBuilder
impl Sync for ChangeSetHookResourceTargetDetailsBuilder
impl Unpin for ChangeSetHookResourceTargetDetailsBuilder
impl UnwindSafe for ChangeSetHookResourceTargetDetailsBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.