Struct aws_sdk_swf::types::builders::ActivityTypeInfoBuilder
source · #[non_exhaustive]pub struct ActivityTypeInfoBuilder { /* private fields */ }
Expand description
A builder for ActivityTypeInfo
.
Implementations§
source§impl ActivityTypeInfoBuilder
impl ActivityTypeInfoBuilder
sourcepub fn activity_type(self, input: ActivityType) -> Self
pub fn activity_type(self, input: ActivityType) -> Self
The ActivityType
type structure representing the activity type.
sourcepub fn set_activity_type(self, input: Option<ActivityType>) -> Self
pub fn set_activity_type(self, input: Option<ActivityType>) -> Self
The ActivityType
type structure representing the activity type.
sourcepub fn status(self, input: RegistrationStatus) -> Self
pub fn status(self, input: RegistrationStatus) -> Self
The current status of the activity type.
sourcepub fn set_status(self, input: Option<RegistrationStatus>) -> Self
pub fn set_status(self, input: Option<RegistrationStatus>) -> Self
The current status of the activity type.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the activity type provided in RegisterActivityType
.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the activity type provided in RegisterActivityType
.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date and time this activity type was created through RegisterActivityType
.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date and time this activity type was created through RegisterActivityType
.
sourcepub fn deprecation_date(self, input: DateTime) -> Self
pub fn deprecation_date(self, input: DateTime) -> Self
If DEPRECATED, the date and time DeprecateActivityType
was called.
sourcepub fn set_deprecation_date(self, input: Option<DateTime>) -> Self
pub fn set_deprecation_date(self, input: Option<DateTime>) -> Self
If DEPRECATED, the date and time DeprecateActivityType
was called.
sourcepub fn build(self) -> ActivityTypeInfo
pub fn build(self) -> ActivityTypeInfo
Consumes the builder and constructs a ActivityTypeInfo
.
Trait Implementations§
source§impl Clone for ActivityTypeInfoBuilder
impl Clone for ActivityTypeInfoBuilder
source§fn clone(&self) -> ActivityTypeInfoBuilder
fn clone(&self) -> ActivityTypeInfoBuilder
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 ActivityTypeInfoBuilder
impl Debug for ActivityTypeInfoBuilder
source§impl Default for ActivityTypeInfoBuilder
impl Default for ActivityTypeInfoBuilder
source§fn default() -> ActivityTypeInfoBuilder
fn default() -> ActivityTypeInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ActivityTypeInfoBuilder> for ActivityTypeInfoBuilder
impl PartialEq<ActivityTypeInfoBuilder> for ActivityTypeInfoBuilder
source§fn eq(&self, other: &ActivityTypeInfoBuilder) -> bool
fn eq(&self, other: &ActivityTypeInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActivityTypeInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ActivityTypeInfoBuilder
impl Send for ActivityTypeInfoBuilder
impl Sync for ActivityTypeInfoBuilder
impl Unpin for ActivityTypeInfoBuilder
impl UnwindSafe for ActivityTypeInfoBuilder
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