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 arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the action.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the action.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ActionBuilder
impl PartialEq for ActionBuilder
source§fn eq(&self, other: &ActionBuilder) -> bool
fn eq(&self, other: &ActionBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ActionBuilder
Auto Trait Implementations§
impl Freeze for ActionBuilder
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
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