#[non_exhaustive]pub struct MemberFabricConfigurationBuilder { /* private fields */ }
Expand description
A builder for MemberFabricConfiguration
.
Implementations§
source§impl MemberFabricConfigurationBuilder
impl MemberFabricConfigurationBuilder
sourcepub fn admin_username(self, input: impl Into<String>) -> Self
pub fn admin_username(self, input: impl Into<String>) -> Self
The user name for the member's initial administrative user.
This field is required.sourcepub fn set_admin_username(self, input: Option<String>) -> Self
pub fn set_admin_username(self, input: Option<String>) -> Self
The user name for the member's initial administrative user.
sourcepub fn get_admin_username(&self) -> &Option<String>
pub fn get_admin_username(&self) -> &Option<String>
The user name for the member's initial administrative user.
sourcepub fn admin_password(self, input: impl Into<String>) -> Self
pub fn admin_password(self, input: impl Into<String>) -> Self
The password for the member's initial administrative user. The AdminPassword
must be at least 8 characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.
sourcepub fn set_admin_password(self, input: Option<String>) -> Self
pub fn set_admin_password(self, input: Option<String>) -> Self
The password for the member's initial administrative user. The AdminPassword
must be at least 8 characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.
sourcepub fn get_admin_password(&self) -> &Option<String>
pub fn get_admin_password(&self) -> &Option<String>
The password for the member's initial administrative user. The AdminPassword
must be at least 8 characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.
sourcepub fn build(self) -> Result<MemberFabricConfiguration, BuildError>
pub fn build(self) -> Result<MemberFabricConfiguration, BuildError>
Consumes the builder and constructs a MemberFabricConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MemberFabricConfigurationBuilder
impl Clone for MemberFabricConfigurationBuilder
source§fn clone(&self) -> MemberFabricConfigurationBuilder
fn clone(&self) -> MemberFabricConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MemberFabricConfigurationBuilder
impl Default for MemberFabricConfigurationBuilder
source§fn default() -> MemberFabricConfigurationBuilder
fn default() -> MemberFabricConfigurationBuilder
source§impl PartialEq for MemberFabricConfigurationBuilder
impl PartialEq for MemberFabricConfigurationBuilder
source§fn eq(&self, other: &MemberFabricConfigurationBuilder) -> bool
fn eq(&self, other: &MemberFabricConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MemberFabricConfigurationBuilder
Auto Trait Implementations§
impl Freeze for MemberFabricConfigurationBuilder
impl RefUnwindSafe for MemberFabricConfigurationBuilder
impl Send for MemberFabricConfigurationBuilder
impl Sync for MemberFabricConfigurationBuilder
impl Unpin for MemberFabricConfigurationBuilder
impl UnwindSafe for MemberFabricConfigurationBuilder
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> 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