#[non_exhaustive]pub struct ResourceIdentifierSummaryBuilder { /* private fields */ }
Expand description
A builder for ResourceIdentifierSummary
.
Implementations§
source§impl ResourceIdentifierSummaryBuilder
impl ResourceIdentifierSummaryBuilder
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The template resource type of the target resources, 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 template resource type of the target resources, such as AWS::S3::Bucket
.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The template resource type of the target resources, such as AWS::S3::Bucket
.
sourcepub fn logical_resource_ids(self, input: impl Into<String>) -> Self
pub fn logical_resource_ids(self, input: impl Into<String>) -> Self
Appends an item to logical_resource_ids
.
To override the contents of this collection use set_logical_resource_ids
.
The logical IDs of the target resources of the specified ResourceType
, as defined in the import template.
sourcepub fn set_logical_resource_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_logical_resource_ids(self, input: Option<Vec<String>>) -> Self
The logical IDs of the target resources of the specified ResourceType
, as defined in the import template.
sourcepub fn get_logical_resource_ids(&self) -> &Option<Vec<String>>
pub fn get_logical_resource_ids(&self) -> &Option<Vec<String>>
The logical IDs of the target resources of the specified ResourceType
, as defined in the import template.
sourcepub fn resource_identifiers(self, input: impl Into<String>) -> Self
pub fn resource_identifiers(self, input: impl Into<String>) -> Self
Appends an item to resource_identifiers
.
To override the contents of this collection use set_resource_identifiers
.
The resource properties you can provide during the import to identify your target resources. For example, BucketName
is a possible identifier property for AWS::S3::Bucket
resources.
sourcepub fn set_resource_identifiers(self, input: Option<Vec<String>>) -> Self
pub fn set_resource_identifiers(self, input: Option<Vec<String>>) -> Self
The resource properties you can provide during the import to identify your target resources. For example, BucketName
is a possible identifier property for AWS::S3::Bucket
resources.
sourcepub fn get_resource_identifiers(&self) -> &Option<Vec<String>>
pub fn get_resource_identifiers(&self) -> &Option<Vec<String>>
The resource properties you can provide during the import to identify your target resources. For example, BucketName
is a possible identifier property for AWS::S3::Bucket
resources.
sourcepub fn build(self) -> ResourceIdentifierSummary
pub fn build(self) -> ResourceIdentifierSummary
Consumes the builder and constructs a ResourceIdentifierSummary
.
Trait Implementations§
source§impl Clone for ResourceIdentifierSummaryBuilder
impl Clone for ResourceIdentifierSummaryBuilder
source§fn clone(&self) -> ResourceIdentifierSummaryBuilder
fn clone(&self) -> ResourceIdentifierSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResourceIdentifierSummaryBuilder
impl Default for ResourceIdentifierSummaryBuilder
source§fn default() -> ResourceIdentifierSummaryBuilder
fn default() -> ResourceIdentifierSummaryBuilder
source§impl PartialEq for ResourceIdentifierSummaryBuilder
impl PartialEq for ResourceIdentifierSummaryBuilder
source§fn eq(&self, other: &ResourceIdentifierSummaryBuilder) -> bool
fn eq(&self, other: &ResourceIdentifierSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceIdentifierSummaryBuilder
Auto Trait Implementations§
impl Freeze for ResourceIdentifierSummaryBuilder
impl RefUnwindSafe for ResourceIdentifierSummaryBuilder
impl Send for ResourceIdentifierSummaryBuilder
impl Sync for ResourceIdentifierSummaryBuilder
impl Unpin for ResourceIdentifierSummaryBuilder
impl UnwindSafe for ResourceIdentifierSummaryBuilder
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