@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LdapServerMetadataInput extends Object implements Serializable, Cloneable, StructuredPojo
Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker.
Does not apply to RabbitMQ brokers.
Constructor and Description |
---|
LdapServerMetadataInput() |
Modifier and Type | Method and Description |
---|---|
LdapServerMetadataInput |
clone() |
boolean |
equals(Object obj) |
List<String> |
getHosts()
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory.
|
String |
getRoleBase()
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
|
String |
getRoleName()
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group
membership query.
|
String |
getRoleSearchMatching()
The LDAP search filter used to find roles within the roleBase.
|
Boolean |
getRoleSearchSubtree()
The directory search scope for the role.
|
String |
getServiceAccountPassword()
Service account password.
|
String |
getServiceAccountUsername()
Service account username.
|
String |
getUserBase()
Select a particular subtree of the directory information tree (DIT) to search for user entries.
|
String |
getUserRoleName()
Specifies the name of the LDAP attribute for the user group membership.
|
String |
getUserSearchMatching()
The LDAP search filter used to find users within the userBase.
|
Boolean |
getUserSearchSubtree()
The directory search scope for the user.
|
int |
hashCode() |
Boolean |
isRoleSearchSubtree()
The directory search scope for the role.
|
Boolean |
isUserSearchSubtree()
The directory search scope for the user.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHosts(Collection<String> hosts)
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory.
|
void |
setRoleBase(String roleBase)
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
|
void |
setRoleName(String roleName)
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group
membership query.
|
void |
setRoleSearchMatching(String roleSearchMatching)
The LDAP search filter used to find roles within the roleBase.
|
void |
setRoleSearchSubtree(Boolean roleSearchSubtree)
The directory search scope for the role.
|
void |
setServiceAccountPassword(String serviceAccountPassword)
Service account password.
|
void |
setServiceAccountUsername(String serviceAccountUsername)
Service account username.
|
void |
setUserBase(String userBase)
Select a particular subtree of the directory information tree (DIT) to search for user entries.
|
void |
setUserRoleName(String userRoleName)
Specifies the name of the LDAP attribute for the user group membership.
|
void |
setUserSearchMatching(String userSearchMatching)
The LDAP search filter used to find users within the userBase.
|
void |
setUserSearchSubtree(Boolean userSearchSubtree)
The directory search scope for the user.
|
String |
toString()
Returns a string representation of this object.
|
LdapServerMetadataInput |
withHosts(Collection<String> hosts)
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory.
|
LdapServerMetadataInput |
withHosts(String... hosts)
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory.
|
LdapServerMetadataInput |
withRoleBase(String roleBase)
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
|
LdapServerMetadataInput |
withRoleName(String roleName)
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group
membership query.
|
LdapServerMetadataInput |
withRoleSearchMatching(String roleSearchMatching)
The LDAP search filter used to find roles within the roleBase.
|
LdapServerMetadataInput |
withRoleSearchSubtree(Boolean roleSearchSubtree)
The directory search scope for the role.
|
LdapServerMetadataInput |
withServiceAccountPassword(String serviceAccountPassword)
Service account password.
|
LdapServerMetadataInput |
withServiceAccountUsername(String serviceAccountUsername)
Service account username.
|
LdapServerMetadataInput |
withUserBase(String userBase)
Select a particular subtree of the directory information tree (DIT) to search for user entries.
|
LdapServerMetadataInput |
withUserRoleName(String userRoleName)
Specifies the name of the LDAP attribute for the user group membership.
|
LdapServerMetadataInput |
withUserSearchMatching(String userSearchMatching)
The LDAP search filter used to find users within the userBase.
|
LdapServerMetadataInput |
withUserSearchSubtree(Boolean userSearchSubtree)
The directory search scope for the user.
|
public List<String> getHosts()
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server.
public void setHosts(Collection<String> hosts)
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server.
hosts
- Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory.
Optional failover server.public LdapServerMetadataInput withHosts(String... hosts)
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server.
NOTE: This method appends the values to the existing list (if any). Use
setHosts(java.util.Collection)
or withHosts(java.util.Collection)
if you want to override the
existing values.
hosts
- Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory.
Optional failover server.public LdapServerMetadataInput withHosts(Collection<String> hosts)
Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server.
hosts
- Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory.
Optional failover server.public void setRoleBase(String roleBase)
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.
roleBase
- The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.public String getRoleBase()
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.
public LdapServerMetadataInput withRoleBase(String roleBase)
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.
roleBase
- The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
For example, ou=group, ou=corp, dc=corp, dc=example, dc=com.public void setRoleName(String roleName)
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
roleName
- Specifies the LDAP attribute that identifies the group name attribute in the object returned from the
group membership query.public String getRoleName()
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
public LdapServerMetadataInput withRoleName(String roleName)
Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
roleName
- Specifies the LDAP attribute that identifies the group name attribute in the object returned from the
group membership query.public void setRoleSearchMatching(String roleSearchMatching)
The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
roleSearchMatching
- The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched
by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username
is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the
user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all
role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.public String getRoleSearchMatching()
The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
public LdapServerMetadataInput withRoleSearchMatching(String roleSearchMatching)
The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.
roleSearchMatching
- The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched
by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username
is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the
user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all
role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.public void setRoleSearchSubtree(Boolean roleSearchSubtree)
The directory search scope for the role. If set to true, scope is to search the entire subtree.
roleSearchSubtree
- The directory search scope for the role. If set to true, scope is to search the entire subtree.public Boolean getRoleSearchSubtree()
The directory search scope for the role. If set to true, scope is to search the entire subtree.
public LdapServerMetadataInput withRoleSearchSubtree(Boolean roleSearchSubtree)
The directory search scope for the role. If set to true, scope is to search the entire subtree.
roleSearchSubtree
- The directory search scope for the role. If set to true, scope is to search the entire subtree.public Boolean isRoleSearchSubtree()
The directory search scope for the role. If set to true, scope is to search the entire subtree.
public void setServiceAccountPassword(String serviceAccountPassword)
Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
serviceAccountPassword
- Service account password. A service account is an account in your LDAP server that has access to initiate
a connection. For example, cn=admin,dc=corp, dc=example, dc=com.public String getServiceAccountPassword()
Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
public LdapServerMetadataInput withServiceAccountPassword(String serviceAccountPassword)
Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
serviceAccountPassword
- Service account password. A service account is an account in your LDAP server that has access to initiate
a connection. For example, cn=admin,dc=corp, dc=example, dc=com.public void setServiceAccountUsername(String serviceAccountUsername)
Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
serviceAccountUsername
- Service account username. A service account is an account in your LDAP server that has access to initiate
a connection. For example, cn=admin,dc=corp, dc=example, dc=com.public String getServiceAccountUsername()
Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
public LdapServerMetadataInput withServiceAccountUsername(String serviceAccountUsername)
Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com.
serviceAccountUsername
- Service account username. A service account is an account in your LDAP server that has access to initiate
a connection. For example, cn=admin,dc=corp, dc=example, dc=com.public void setUserBase(String userBase)
Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.
userBase
- Select a particular subtree of the directory information tree (DIT) to search for user entries. The
subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this
option to ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the
subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.public String getUserBase()
Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.
public LdapServerMetadataInput withUserBase(String userBase)
Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.
userBase
- Select a particular subtree of the directory information tree (DIT) to search for user entries. The
subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this
option to ou=Users,ou=corp, dc=corp, dc=example, dc=com, the search for user entries is restricted to the
subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.public void setUserRoleName(String userRoleName)
Specifies the name of the LDAP attribute for the user group membership.
userRoleName
- Specifies the name of the LDAP attribute for the user group membership.public String getUserRoleName()
Specifies the name of the LDAP attribute for the user group membership.
public LdapServerMetadataInput withUserRoleName(String userRoleName)
Specifies the name of the LDAP attribute for the user group membership.
userRoleName
- Specifies the name of the LDAP attribute for the user group membership.public void setUserSearchMatching(String userSearchMatching)
The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com.
userSearchMatching
- The LDAP search filter used to find users within the userBase. The client's username is substituted into
the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received
username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in
matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com.public String getUserSearchMatching()
The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com.
public LdapServerMetadataInput withUserSearchMatching(String userSearchMatching)
The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com.
userSearchMatching
- The LDAP search filter used to find users within the userBase. The client's username is substituted into
the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received
username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in
matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example, dc=com.public void setUserSearchSubtree(Boolean userSearchSubtree)
The directory search scope for the user. If set to true, scope is to search the entire subtree.
userSearchSubtree
- The directory search scope for the user. If set to true, scope is to search the entire subtree.public Boolean getUserSearchSubtree()
The directory search scope for the user. If set to true, scope is to search the entire subtree.
public LdapServerMetadataInput withUserSearchSubtree(Boolean userSearchSubtree)
The directory search scope for the user. If set to true, scope is to search the entire subtree.
userSearchSubtree
- The directory search scope for the user. If set to true, scope is to search the entire subtree.public Boolean isUserSearchSubtree()
The directory search scope for the user. If set to true, scope is to search the entire subtree.
public String toString()
toString
in class Object
Object.toString()
public LdapServerMetadataInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.