pub struct Builder { /* private fields */ }Expand description
A builder for UpdateConnectionBasicAuthRequestParameters.
Implementations§
source§impl Builder
impl Builder
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
The user name to use for Basic authorization.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The user name to use for Basic authorization.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
The password associated with the user name to use for Basic authorization.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The password associated with the user name to use for Basic authorization.
sourcepub fn build(self) -> UpdateConnectionBasicAuthRequestParameters
pub fn build(self) -> UpdateConnectionBasicAuthRequestParameters
Consumes the builder and constructs a UpdateConnectionBasicAuthRequestParameters.