Struct aws_sdk_swf::types::DomainInfo
source · #[non_exhaustive]pub struct DomainInfo {
pub name: String,
pub status: RegistrationStatus,
pub description: Option<String>,
pub arn: Option<String>,
}
Expand description
Contains general information about a domain.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of the domain. This name is unique within the account.
status: RegistrationStatus
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.
description: Option<String>
The description of the domain provided through RegisterDomain
.
arn: Option<String>
The ARN of the domain.
Implementations§
source§impl DomainInfo
impl DomainInfo
sourcepub fn status(&self) -> &RegistrationStatus
pub fn status(&self) -> &RegistrationStatus
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) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the domain provided through RegisterDomain
.
source§impl DomainInfo
impl DomainInfo
sourcepub fn builder() -> DomainInfoBuilder
pub fn builder() -> DomainInfoBuilder
Creates a new builder-style object to manufacture DomainInfo
.
Trait Implementations§
source§impl Clone for DomainInfo
impl Clone for DomainInfo
source§fn clone(&self) -> DomainInfo
fn clone(&self) -> DomainInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainInfo
impl Debug for DomainInfo
source§impl PartialEq for DomainInfo
impl PartialEq for DomainInfo
source§fn eq(&self, other: &DomainInfo) -> bool
fn eq(&self, other: &DomainInfo) -> bool
self
and other
values to be equal, and is used
by ==
.