Struct aws_sdk_fis::types::builders::TargetResourceTypeBuilder
source · #[non_exhaustive]pub struct TargetResourceTypeBuilder { /* private fields */ }Expand description
A builder for TargetResourceType.
Implementations§
source§impl TargetResourceTypeBuilder
impl TargetResourceTypeBuilder
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The resource type.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The resource type.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The resource type.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the resource type.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the resource type.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the resource type.
sourcepub fn parameters(
self,
k: impl Into<String>,
v: TargetResourceTypeParameter
) -> Self
pub fn parameters( self, k: impl Into<String>, v: TargetResourceTypeParameter ) -> Self
Adds a key-value pair to parameters.
To override the contents of this collection use set_parameters.
The parameters for the resource type.
sourcepub fn set_parameters(
self,
input: Option<HashMap<String, TargetResourceTypeParameter>>
) -> Self
pub fn set_parameters( self, input: Option<HashMap<String, TargetResourceTypeParameter>> ) -> Self
The parameters for the resource type.
sourcepub fn get_parameters(
&self
) -> &Option<HashMap<String, TargetResourceTypeParameter>>
pub fn get_parameters( &self ) -> &Option<HashMap<String, TargetResourceTypeParameter>>
The parameters for the resource type.
sourcepub fn build(self) -> TargetResourceType
pub fn build(self) -> TargetResourceType
Consumes the builder and constructs a TargetResourceType.
Trait Implementations§
source§impl Clone for TargetResourceTypeBuilder
impl Clone for TargetResourceTypeBuilder
source§fn clone(&self) -> TargetResourceTypeBuilder
fn clone(&self) -> TargetResourceTypeBuilder
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 TargetResourceTypeBuilder
impl Debug for TargetResourceTypeBuilder
source§impl Default for TargetResourceTypeBuilder
impl Default for TargetResourceTypeBuilder
source§fn default() -> TargetResourceTypeBuilder
fn default() -> TargetResourceTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TargetResourceTypeBuilder
impl PartialEq for TargetResourceTypeBuilder
source§fn eq(&self, other: &TargetResourceTypeBuilder) -> bool
fn eq(&self, other: &TargetResourceTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TargetResourceTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TargetResourceTypeBuilder
impl Send for TargetResourceTypeBuilder
impl Sync for TargetResourceTypeBuilder
impl Unpin for TargetResourceTypeBuilder
impl UnwindSafe for TargetResourceTypeBuilder
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.