Struct aws_sdk_connect::types::builders::SignInDistributionBuilder
source · #[non_exhaustive]pub struct SignInDistributionBuilder { /* private fields */ }
Expand description
A builder for SignInDistribution
.
Implementations§
source§impl SignInDistributionBuilder
impl SignInDistributionBuilder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region of the sign in distribution.
This field is required.sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Region of the sign in distribution.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
The Amazon Web Services Region of the sign in distribution.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Whether sign in distribution is enabled.
This field is required.sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Whether sign in distribution is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Whether sign in distribution is enabled.
sourcepub fn build(self) -> Result<SignInDistribution, BuildError>
pub fn build(self) -> Result<SignInDistribution, BuildError>
Consumes the builder and constructs a SignInDistribution
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SignInDistributionBuilder
impl Clone for SignInDistributionBuilder
source§fn clone(&self) -> SignInDistributionBuilder
fn clone(&self) -> SignInDistributionBuilder
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 SignInDistributionBuilder
impl Debug for SignInDistributionBuilder
source§impl Default for SignInDistributionBuilder
impl Default for SignInDistributionBuilder
source§fn default() -> SignInDistributionBuilder
fn default() -> SignInDistributionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SignInDistributionBuilder
impl PartialEq for SignInDistributionBuilder
source§fn eq(&self, other: &SignInDistributionBuilder) -> bool
fn eq(&self, other: &SignInDistributionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SignInDistributionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SignInDistributionBuilder
impl Send for SignInDistributionBuilder
impl Sync for SignInDistributionBuilder
impl Unpin for SignInDistributionBuilder
impl UnwindSafe for SignInDistributionBuilder
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.