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