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