#[non_exhaustive]pub struct CreateActionInputBuilder { /* private fields */ }
Expand description
A builder for CreateActionInput
.
Implementations§
source§impl CreateActionInputBuilder
impl CreateActionInputBuilder
sourcepub fn action_name(self, input: impl Into<String>) -> Self
pub fn action_name(self, input: impl Into<String>) -> Self
The name of the action. Must be unique to your account in an Amazon Web Services Region.
This field is required.sourcepub fn set_action_name(self, input: Option<String>) -> Self
pub fn set_action_name(self, input: Option<String>) -> Self
The name of the action. Must be unique to your account in an Amazon Web Services Region.
sourcepub fn get_action_name(&self) -> &Option<String>
pub fn get_action_name(&self) -> &Option<String>
The name of the action. Must be unique to your account in an Amazon Web Services Region.
sourcepub fn source(self, input: ActionSource) -> Self
pub fn source(self, input: ActionSource) -> Self
The source type, ID, and URI.
This field is required.sourcepub fn set_source(self, input: Option<ActionSource>) -> Self
pub fn set_source(self, input: Option<ActionSource>) -> Self
The source type, ID, and URI.
sourcepub fn get_source(&self) -> &Option<ActionSource>
pub fn get_source(&self) -> &Option<ActionSource>
The source type, ID, and URI.
sourcepub fn action_type(self, input: impl Into<String>) -> Self
pub fn action_type(self, input: impl Into<String>) -> Self
The action type.
This field is required.sourcepub fn set_action_type(self, input: Option<String>) -> Self
pub fn set_action_type(self, input: Option<String>) -> Self
The action type.
sourcepub fn get_action_type(&self) -> &Option<String>
pub fn get_action_type(&self) -> &Option<String>
The action type.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the action.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the action.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the action.
sourcepub fn status(self, input: ActionStatus) -> Self
pub fn status(self, input: ActionStatus) -> Self
The status of the action.
sourcepub fn set_status(self, input: Option<ActionStatus>) -> Self
pub fn set_status(self, input: Option<ActionStatus>) -> Self
The status of the action.
sourcepub fn get_status(&self) -> &Option<ActionStatus>
pub fn get_status(&self) -> &Option<ActionStatus>
The status of the action.
sourcepub fn properties(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn properties(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to properties
.
To override the contents of this collection use set_properties
.
A list of properties to add to the action.
sourcepub fn set_properties(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_properties(self, input: Option<HashMap<String, String>>) -> Self
A list of properties to add to the action.
sourcepub fn get_properties(&self) -> &Option<HashMap<String, String>>
pub fn get_properties(&self) -> &Option<HashMap<String, String>>
A list of properties to add to the action.
sourcepub fn metadata_properties(self, input: MetadataProperties) -> Self
pub fn metadata_properties(self, input: MetadataProperties) -> Self
Metadata properties of the tracking entity, trial, or trial component.
sourcepub fn set_metadata_properties(self, input: Option<MetadataProperties>) -> Self
pub fn set_metadata_properties(self, input: Option<MetadataProperties>) -> Self
Metadata properties of the tracking entity, trial, or trial component.
sourcepub fn get_metadata_properties(&self) -> &Option<MetadataProperties>
pub fn get_metadata_properties(&self) -> &Option<MetadataProperties>
Metadata properties of the tracking entity, trial, or trial component.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tags to apply to the action.
A list of tags to apply to the action.
A list of tags to apply to the action.
sourcepub fn build(self) -> Result<CreateActionInput, BuildError>
pub fn build(self) -> Result<CreateActionInput, BuildError>
Consumes the builder and constructs a CreateActionInput
.
source§impl CreateActionInputBuilder
impl CreateActionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateActionOutput, SdkError<CreateActionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateActionOutput, SdkError<CreateActionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateActionInputBuilder
impl Clone for CreateActionInputBuilder
source§fn clone(&self) -> CreateActionInputBuilder
fn clone(&self) -> CreateActionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateActionInputBuilder
impl Debug for CreateActionInputBuilder
source§impl Default for CreateActionInputBuilder
impl Default for CreateActionInputBuilder
source§fn default() -> CreateActionInputBuilder
fn default() -> CreateActionInputBuilder
source§impl PartialEq for CreateActionInputBuilder
impl PartialEq for CreateActionInputBuilder
source§fn eq(&self, other: &CreateActionInputBuilder) -> bool
fn eq(&self, other: &CreateActionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.