#[non_exhaustive]pub struct ResourceDescriptionBuilder { /* private fields */ }
Expand description
A builder for ResourceDescription
.
Implementations§
source§impl ResourceDescriptionBuilder
impl ResourceDescriptionBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The primary identifier for the resource.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The primary identifier for the resource.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The primary identifier for the resource.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
sourcepub fn properties(self, input: impl Into<String>) -> Self
pub fn properties(self, input: impl Into<String>) -> Self
A list of the resource properties and their current values.
sourcepub fn set_properties(self, input: Option<String>) -> Self
pub fn set_properties(self, input: Option<String>) -> Self
A list of the resource properties and their current values.
sourcepub fn get_properties(&self) -> &Option<String>
pub fn get_properties(&self) -> &Option<String>
A list of the resource properties and their current values.
sourcepub fn build(self) -> ResourceDescription
pub fn build(self) -> ResourceDescription
Consumes the builder and constructs a ResourceDescription
.
Trait Implementations§
source§impl Clone for ResourceDescriptionBuilder
impl Clone for ResourceDescriptionBuilder
source§fn clone(&self) -> ResourceDescriptionBuilder
fn clone(&self) -> ResourceDescriptionBuilder
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 Debug for ResourceDescriptionBuilder
impl Debug for ResourceDescriptionBuilder
source§impl Default for ResourceDescriptionBuilder
impl Default for ResourceDescriptionBuilder
source§fn default() -> ResourceDescriptionBuilder
fn default() -> ResourceDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResourceDescriptionBuilder
impl PartialEq for ResourceDescriptionBuilder
source§fn eq(&self, other: &ResourceDescriptionBuilder) -> bool
fn eq(&self, other: &ResourceDescriptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceDescriptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ResourceDescriptionBuilder
impl Send for ResourceDescriptionBuilder
impl Sync for ResourceDescriptionBuilder
impl Unpin for ResourceDescriptionBuilder
impl UnwindSafe for ResourceDescriptionBuilder
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>
Creates a shared type from an unshared type.