#[non_exhaustive]pub struct CreateActivityInputBuilder { /* private fields */ }Expand description
A builder for CreateActivityInput.
Implementations§
source§impl CreateActivityInputBuilder
impl CreateActivityInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the activity to create. This name must be unique for your Amazon Web Services account and region for 90 days. For more information, see Limits Related to State Machine Executions in the Step Functions Developer Guide.
A name must not contain:
-
white space
-
brackets
< > { } [ ] -
wildcard characters
? * -
special characters
" # % \ ^ | ~ ` $ & , ; : / -
control characters (
U+0000-001F,U+007F-009F)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the activity to create. This name must be unique for your Amazon Web Services account and region for 90 days. For more information, see Limits Related to State Machine Executions in the Step Functions Developer Guide.
A name must not contain:
-
white space
-
brackets
< > { } [ ] -
wildcard characters
? * -
special characters
" # % \ ^ | ~ ` $ & , ; : / -
control characters (
U+0000-001F,U+007F-009F)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the activity to create. This name must be unique for your Amazon Web Services account and region for 90 days. For more information, see Limits Related to State Machine Executions in the Step Functions Developer Guide.
A name must not contain:
-
white space
-
brackets
< > { } [ ] -
wildcard characters
? * -
special characters
" # % \ ^ | ~ ` $ & , ; : / -
control characters (
U+0000-001F,U+007F-009F)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
Appends an item to tags.
To override the contents of this collection use set_tags.
The list of tags to add to a resource.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @.
The list of tags to add to a resource.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @.
The list of tags to add to a resource.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @.
sourcepub fn build(self) -> Result<CreateActivityInput, BuildError>
pub fn build(self) -> Result<CreateActivityInput, BuildError>
Consumes the builder and constructs a CreateActivityInput.
source§impl CreateActivityInputBuilder
impl CreateActivityInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateActivityOutput, SdkError<CreateActivityError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateActivityOutput, SdkError<CreateActivityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateActivityInputBuilder
impl Clone for CreateActivityInputBuilder
source§fn clone(&self) -> CreateActivityInputBuilder
fn clone(&self) -> CreateActivityInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateActivityInputBuilder
impl Debug for CreateActivityInputBuilder
source§impl Default for CreateActivityInputBuilder
impl Default for CreateActivityInputBuilder
source§fn default() -> CreateActivityInputBuilder
fn default() -> CreateActivityInputBuilder
source§impl PartialEq for CreateActivityInputBuilder
impl PartialEq for CreateActivityInputBuilder
source§fn eq(&self, other: &CreateActivityInputBuilder) -> bool
fn eq(&self, other: &CreateActivityInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateActivityInputBuilder
Auto Trait Implementations§
impl Freeze for CreateActivityInputBuilder
impl RefUnwindSafe for CreateActivityInputBuilder
impl Send for CreateActivityInputBuilder
impl Sync for CreateActivityInputBuilder
impl Unpin for CreateActivityInputBuilder
impl UnwindSafe for CreateActivityInputBuilder
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