#[non_exhaustive]pub struct CreateDomainOutputBuilder { /* private fields */ }Expand description
A builder for CreateDomainOutput.
Implementations§
source§impl CreateDomainOutputBuilder
impl CreateDomainOutputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The unique identifier of the Cases domain.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The unique identifier of the Cases domain.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The unique identifier of the Cases domain.
sourcepub fn domain_arn(self, input: impl Into<String>) -> Self
pub fn domain_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the Cases domain.
This field is required.sourcepub fn set_domain_arn(self, input: Option<String>) -> Self
pub fn set_domain_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the Cases domain.
sourcepub fn get_domain_arn(&self) -> &Option<String>
pub fn get_domain_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the Cases domain.
sourcepub fn domain_status(self, input: DomainStatus) -> Self
pub fn domain_status(self, input: DomainStatus) -> Self
The status of the domain.
This field is required.sourcepub fn set_domain_status(self, input: Option<DomainStatus>) -> Self
pub fn set_domain_status(self, input: Option<DomainStatus>) -> Self
The status of the domain.
sourcepub fn get_domain_status(&self) -> &Option<DomainStatus>
pub fn get_domain_status(&self) -> &Option<DomainStatus>
The status of the domain.
sourcepub fn build(self) -> Result<CreateDomainOutput, BuildError>
pub fn build(self) -> Result<CreateDomainOutput, BuildError>
Consumes the builder and constructs a CreateDomainOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateDomainOutputBuilder
impl Clone for CreateDomainOutputBuilder
source§fn clone(&self) -> CreateDomainOutputBuilder
fn clone(&self) -> CreateDomainOutputBuilder
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 CreateDomainOutputBuilder
impl Debug for CreateDomainOutputBuilder
source§impl Default for CreateDomainOutputBuilder
impl Default for CreateDomainOutputBuilder
source§fn default() -> CreateDomainOutputBuilder
fn default() -> CreateDomainOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateDomainOutputBuilder
impl PartialEq for CreateDomainOutputBuilder
source§fn eq(&self, other: &CreateDomainOutputBuilder) -> bool
fn eq(&self, other: &CreateDomainOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDomainOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateDomainOutputBuilder
impl RefUnwindSafe for CreateDomainOutputBuilder
impl Send for CreateDomainOutputBuilder
impl Sync for CreateDomainOutputBuilder
impl Unpin for CreateDomainOutputBuilder
impl UnwindSafe for CreateDomainOutputBuilder
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
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>
Creates a shared type from an unshared type.