Struct aws_sdk_swf::types::builders::ActivityTypeBuilder
source · #[non_exhaustive]pub struct ActivityTypeBuilder { /* private fields */ }
Expand description
A builder for ActivityType
.
Implementations§
source§impl ActivityTypeBuilder
impl ActivityTypeBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of this activity.
The combination of activity type name and version must be unique within a domain.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of this activity.
The combination of activity type name and version must be unique within a domain.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The version of this activity.
The combination of activity type name and version must be unique with in a domain.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version of this activity.
The combination of activity type name and version must be unique with in a domain.
sourcepub fn build(self) -> ActivityType
pub fn build(self) -> ActivityType
Consumes the builder and constructs a ActivityType
.
Trait Implementations§
source§impl Clone for ActivityTypeBuilder
impl Clone for ActivityTypeBuilder
source§fn clone(&self) -> ActivityTypeBuilder
fn clone(&self) -> ActivityTypeBuilder
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 ActivityTypeBuilder
impl Debug for ActivityTypeBuilder
source§impl Default for ActivityTypeBuilder
impl Default for ActivityTypeBuilder
source§fn default() -> ActivityTypeBuilder
fn default() -> ActivityTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ActivityTypeBuilder> for ActivityTypeBuilder
impl PartialEq<ActivityTypeBuilder> for ActivityTypeBuilder
source§fn eq(&self, other: &ActivityTypeBuilder) -> bool
fn eq(&self, other: &ActivityTypeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActivityTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ActivityTypeBuilder
impl Send for ActivityTypeBuilder
impl Sync for ActivityTypeBuilder
impl Unpin for ActivityTypeBuilder
impl UnwindSafe for ActivityTypeBuilder
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