#[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 ==
.