Struct aws_sdk_datazone::types::builders::DomainSummaryBuilder
source · #[non_exhaustive]pub struct DomainSummaryBuilder { /* private fields */ }
Expand description
A builder for DomainSummary
.
Implementations§
source§impl DomainSummaryBuilder
impl DomainSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A name of an Amazon DataZone domain.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of an Amazon DataZone domain.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of an Amazon DataZone domain.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of an Amazon DataZone domain.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the Amazon DataZone domain.
This field is required.sourcepub fn managed_account_id(self, input: impl Into<String>) -> Self
pub fn managed_account_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Web Services account that manages the domain.
This field is required.sourcepub fn set_managed_account_id(self, input: Option<String>) -> Self
pub fn set_managed_account_id(self, input: Option<String>) -> Self
The identifier of the Amazon Web Services account that manages the domain.
sourcepub fn get_managed_account_id(&self) -> &Option<String>
pub fn get_managed_account_id(&self) -> &Option<String>
The identifier of the Amazon Web Services account that manages the domain.
sourcepub fn status(self, input: DomainStatus) -> Self
pub fn status(self, input: DomainStatus) -> Self
The status of the Amazon DataZone domain.
This field is required.sourcepub fn set_status(self, input: Option<DomainStatus>) -> Self
pub fn set_status(self, input: Option<DomainStatus>) -> Self
The status of the Amazon DataZone domain.
sourcepub fn get_status(&self) -> &Option<DomainStatus>
pub fn get_status(&self) -> &Option<DomainStatus>
The status of the Amazon DataZone domain.
sourcepub fn portal_url(self, input: impl Into<String>) -> Self
pub fn portal_url(self, input: impl Into<String>) -> Self
The data portal URL for the Amazon DataZone domain.
sourcepub fn set_portal_url(self, input: Option<String>) -> Self
pub fn set_portal_url(self, input: Option<String>) -> Self
The data portal URL for the Amazon DataZone domain.
sourcepub fn get_portal_url(&self) -> &Option<String>
pub fn get_portal_url(&self) -> &Option<String>
The data portal URL for the Amazon DataZone domain.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
A timestamp of when a Amazon DataZone domain was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
A timestamp of when a Amazon DataZone domain was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
A timestamp of when a Amazon DataZone domain was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
A timestamp of when a Amazon DataZone domain was last updated.
sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
A timestamp of when a Amazon DataZone domain was last updated.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
A timestamp of when a Amazon DataZone domain was last updated.
sourcepub fn build(self) -> Result<DomainSummary, BuildError>
pub fn build(self) -> Result<DomainSummary, BuildError>
Consumes the builder and constructs a DomainSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DomainSummaryBuilder
impl Clone for DomainSummaryBuilder
source§fn clone(&self) -> DomainSummaryBuilder
fn clone(&self) -> DomainSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainSummaryBuilder
impl Debug for DomainSummaryBuilder
source§impl Default for DomainSummaryBuilder
impl Default for DomainSummaryBuilder
source§fn default() -> DomainSummaryBuilder
fn default() -> DomainSummaryBuilder
source§impl PartialEq for DomainSummaryBuilder
impl PartialEq for DomainSummaryBuilder
impl StructuralPartialEq for DomainSummaryBuilder
Auto Trait Implementations§
impl Freeze for DomainSummaryBuilder
impl RefUnwindSafe for DomainSummaryBuilder
impl Send for DomainSummaryBuilder
impl Sync for DomainSummaryBuilder
impl Unpin for DomainSummaryBuilder
impl UnwindSafe for DomainSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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