Struct aws_sdk_swf::model::domain_info::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for DomainInfo
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the domain. This name is unique within the account.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the domain. This name is unique within the account.
sourcepub fn status(self, input: RegistrationStatus) -> Self
pub fn status(self, input: RegistrationStatus) -> Self
The status of the domain:
-
REGISTERED
– The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions. -
DEPRECATED
– The domain was deprecated usingDeprecateDomain
, but is still in use. You should not create new workflow executions in this domain.
sourcepub fn set_status(self, input: Option<RegistrationStatus>) -> Self
pub fn set_status(self, input: Option<RegistrationStatus>) -> Self
The status of the domain:
-
REGISTERED
– The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions. -
DEPRECATED
– The domain was deprecated usingDeprecateDomain
, but is still in use. You should not create new workflow executions in this domain.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the domain provided through RegisterDomain
.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the domain provided through RegisterDomain
.
sourcepub fn build(self) -> DomainInfo
pub fn build(self) -> DomainInfo
Consumes the builder and constructs a DomainInfo
.