Struct aws_sdk_securityhub::types::builders::AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
source · #[non_exhaustive]pub struct AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder { /* private fields */ }Expand description
A builder for AwsAmazonMqBrokerLdapServerMetadataDetails.
Implementations§
source§impl AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
impl AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
sourcepub fn hosts(self, input: impl Into<String>) -> Self
pub fn hosts(self, input: impl Into<String>) -> Self
Appends an item to hosts.
To override the contents of this collection use set_hosts.
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
sourcepub fn set_hosts(self, input: Option<Vec<String>>) -> Self
pub fn set_hosts(self, input: Option<Vec<String>>) -> Self
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
sourcepub fn get_hosts(&self) -> &Option<Vec<String>>
pub fn get_hosts(&self) -> &Option<Vec<String>>
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
sourcepub fn role_base(self, input: impl Into<String>) -> Self
pub fn role_base(self, input: impl Into<String>) -> Self
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
sourcepub fn set_role_base(self, input: Option<String>) -> Self
pub fn set_role_base(self, input: Option<String>) -> Self
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
sourcepub fn get_role_base(&self) -> &Option<String>
pub fn get_role_base(&self) -> &Option<String>
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
sourcepub fn role_name(self, input: impl Into<String>) -> Self
pub fn role_name(self, input: impl Into<String>) -> Self
The group name attribute in a role entry whose value is the name of that role.
sourcepub fn set_role_name(self, input: Option<String>) -> Self
pub fn set_role_name(self, input: Option<String>) -> Self
The group name attribute in a role entry whose value is the name of that role.
sourcepub fn get_role_name(&self) -> &Option<String>
pub fn get_role_name(&self) -> &Option<String>
The group name attribute in a role entry whose value is the name of that role.
sourcepub fn role_search_matching(self, input: impl Into<String>) -> Self
pub fn role_search_matching(self, input: impl Into<String>) -> Self
The LDAP search filter used to find roles within the roleBase.
sourcepub fn set_role_search_matching(self, input: Option<String>) -> Self
pub fn set_role_search_matching(self, input: Option<String>) -> Self
The LDAP search filter used to find roles within the roleBase.
sourcepub fn get_role_search_matching(&self) -> &Option<String>
pub fn get_role_search_matching(&self) -> &Option<String>
The LDAP search filter used to find roles within the roleBase.
sourcepub fn role_search_subtree(self, input: bool) -> Self
pub fn role_search_subtree(self, input: bool) -> Self
The directory search scope for the role. If set to true, the scope is to search the entire subtree.
sourcepub fn set_role_search_subtree(self, input: Option<bool>) -> Self
pub fn set_role_search_subtree(self, input: Option<bool>) -> Self
The directory search scope for the role. If set to true, the scope is to search the entire subtree.
sourcepub fn get_role_search_subtree(&self) -> &Option<bool>
pub fn get_role_search_subtree(&self) -> &Option<bool>
The directory search scope for the role. If set to true, the scope is to search the entire subtree.
sourcepub fn service_account_username(self, input: impl Into<String>) -> Self
pub fn service_account_username(self, input: impl Into<String>) -> Self
A username for the service account, which is an account in your LDAP server that has access to initiate a connection.
sourcepub fn set_service_account_username(self, input: Option<String>) -> Self
pub fn set_service_account_username(self, input: Option<String>) -> Self
A username for the service account, which is an account in your LDAP server that has access to initiate a connection.
sourcepub fn get_service_account_username(&self) -> &Option<String>
pub fn get_service_account_username(&self) -> &Option<String>
A username for the service account, which is an account in your LDAP server that has access to initiate a connection.
sourcepub fn user_base(self, input: impl Into<String>) -> Self
pub fn user_base(self, input: impl Into<String>) -> Self
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
sourcepub fn set_user_base(self, input: Option<String>) -> Self
pub fn set_user_base(self, input: Option<String>) -> Self
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
sourcepub fn get_user_base(&self) -> &Option<String>
pub fn get_user_base(&self) -> &Option<String>
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
sourcepub fn user_role_name(self, input: impl Into<String>) -> Self
pub fn user_role_name(self, input: impl Into<String>) -> Self
The name of the LDAP attribute in the user's directory entry for the user's group membership.
sourcepub fn set_user_role_name(self, input: Option<String>) -> Self
pub fn set_user_role_name(self, input: Option<String>) -> Self
The name of the LDAP attribute in the user's directory entry for the user's group membership.
sourcepub fn get_user_role_name(&self) -> &Option<String>
pub fn get_user_role_name(&self) -> &Option<String>
The name of the LDAP attribute in the user's directory entry for the user's group membership.
sourcepub fn user_search_matching(self, input: impl Into<String>) -> Self
pub fn user_search_matching(self, input: impl Into<String>) -> Self
The LDAP search filter used to find users within the userBase.
sourcepub fn set_user_search_matching(self, input: Option<String>) -> Self
pub fn set_user_search_matching(self, input: Option<String>) -> Self
The LDAP search filter used to find users within the userBase.
sourcepub fn get_user_search_matching(&self) -> &Option<String>
pub fn get_user_search_matching(&self) -> &Option<String>
The LDAP search filter used to find users within the userBase.
sourcepub fn user_search_subtree(self, input: bool) -> Self
pub fn user_search_subtree(self, input: bool) -> Self
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
sourcepub fn set_user_search_subtree(self, input: Option<bool>) -> Self
pub fn set_user_search_subtree(self, input: Option<bool>) -> Self
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
sourcepub fn get_user_search_subtree(&self) -> &Option<bool>
pub fn get_user_search_subtree(&self) -> &Option<bool>
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
sourcepub fn build(self) -> AwsAmazonMqBrokerLdapServerMetadataDetails
pub fn build(self) -> AwsAmazonMqBrokerLdapServerMetadataDetails
Consumes the builder and constructs a AwsAmazonMqBrokerLdapServerMetadataDetails.
Trait Implementations§
source§impl Clone for AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
impl Clone for AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
source§fn clone(&self) -> AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
fn clone(&self) -> AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
impl Default for AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
source§fn default() -> AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
fn default() -> AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
source§impl PartialEq for AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
impl PartialEq for AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
source§fn eq(&self, other: &AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder) -> bool
fn eq(&self, other: &AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.