@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAmazonMqBrokerLdapServerMetadataDetails extends Object implements Serializable, Cloneable, StructuredPojo
The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker. This is an optional failover server.
Constructor and Description |
---|
AwsAmazonMqBrokerLdapServerMetadataDetails() |
Modifier and Type | Method and Description |
---|---|
AwsAmazonMqBrokerLdapServerMetadataDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getHosts()
Specifies the location of the LDAP server, such as Amazon Web Services 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()
The group name attribute in a role entry whose value is the name of that role.
|
String |
getRoleSearchMatching()
The LDAP search filter used to find roles within the
roleBase . |
Boolean |
getRoleSearchSubtree()
The directory search scope for the role.
|
String |
getServiceAccountUsername()
A username for the service account, which is an account in your LDAP server that has access to initiate a
connection.
|
String |
getUserBase()
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
|
String |
getUserRoleName()
The name of the LDAP attribute in the user's directory entry for the user's 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 Amazon Web Services 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)
The group name attribute in a role entry whose value is the name of that role.
|
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 |
setServiceAccountUsername(String serviceAccountUsername)
A username for the service account, which is an account in your LDAP server that has access to initiate a
connection.
|
void |
setUserBase(String userBase)
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
|
void |
setUserRoleName(String userRoleName)
The name of the LDAP attribute in the user's directory entry for the user's 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.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withHosts(Collection<String> hosts)
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active
Directory.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withHosts(String... hosts)
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active
Directory.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withRoleBase(String roleBase)
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withRoleName(String roleName)
The group name attribute in a role entry whose value is the name of that role.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withRoleSearchMatching(String roleSearchMatching)
The LDAP search filter used to find roles within the
roleBase . |
AwsAmazonMqBrokerLdapServerMetadataDetails |
withRoleSearchSubtree(Boolean roleSearchSubtree)
The directory search scope for the role.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withServiceAccountUsername(String serviceAccountUsername)
A username for the service account, which is an account in your LDAP server that has access to initiate a
connection.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withUserBase(String userBase)
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withUserRoleName(String userRoleName)
The name of the LDAP attribute in the user's directory entry for the user's group membership.
|
AwsAmazonMqBrokerLdapServerMetadataDetails |
withUserSearchMatching(String userSearchMatching)
The LDAP search filter used to find users within the
userBase . |
AwsAmazonMqBrokerLdapServerMetadataDetails |
withUserSearchSubtree(Boolean userSearchSubtree)
The directory search scope for the user.
|
public AwsAmazonMqBrokerLdapServerMetadataDetails()
public List<String> getHosts()
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
public void setHosts(Collection<String> hosts)
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
hosts
- Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft
Active Directory.public AwsAmazonMqBrokerLdapServerMetadataDetails withHosts(String... hosts)
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
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 Amazon Web Services Directory Service for Microsoft
Active Directory.public AwsAmazonMqBrokerLdapServerMetadataDetails withHosts(Collection<String> hosts)
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
hosts
- Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft
Active Directory.public void setRoleBase(String roleBase)
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
roleBase
- The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.public String getRoleBase()
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
public AwsAmazonMqBrokerLdapServerMetadataDetails withRoleBase(String roleBase)
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
roleBase
- The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.public void setRoleName(String roleName)
The group name attribute in a role entry whose value is the name of that role.
roleName
- The group name attribute in a role entry whose value is the name of that role.public String getRoleName()
The group name attribute in a role entry whose value is the name of that role.
public AwsAmazonMqBrokerLdapServerMetadataDetails withRoleName(String roleName)
The group name attribute in a role entry whose value is the name of that role.
roleName
- The group name attribute in a role entry whose value is the name of that role.public void setRoleSearchMatching(String roleSearchMatching)
The LDAP search filter used to find roles within the roleBase
.
roleSearchMatching
- The LDAP search filter used to find roles within the roleBase
.public String getRoleSearchMatching()
The LDAP search filter used to find roles within the roleBase
.
roleBase
.public AwsAmazonMqBrokerLdapServerMetadataDetails withRoleSearchMatching(String roleSearchMatching)
The LDAP search filter used to find roles within the roleBase
.
roleSearchMatching
- The LDAP search filter used to find roles within the roleBase
.public void setRoleSearchSubtree(Boolean roleSearchSubtree)
The directory search scope for the role. If set to true
, the scope is to search the entire subtree.
roleSearchSubtree
- The directory search scope for the role. If set to true
, the scope is to search the entire
subtree.public Boolean getRoleSearchSubtree()
The directory search scope for the role. If set to true
, the scope is to search the entire subtree.
true
, the scope is to search the entire
subtree.public AwsAmazonMqBrokerLdapServerMetadataDetails withRoleSearchSubtree(Boolean roleSearchSubtree)
The directory search scope for the role. If set to true
, the scope is to search the entire subtree.
roleSearchSubtree
- The directory search scope for the role. If set to true
, the scope is to search the entire
subtree.public Boolean isRoleSearchSubtree()
The directory search scope for the role. If set to true
, the scope is to search the entire subtree.
true
, the scope is to search the entire
subtree.public void setServiceAccountUsername(String serviceAccountUsername)
A username for the service account, which is an account in your LDAP server that has access to initiate a connection.
serviceAccountUsername
- A username for the service account, which is an account in your LDAP server that has access to initiate a
connection.public String getServiceAccountUsername()
A username for the service account, which is an account in your LDAP server that has access to initiate a connection.
public AwsAmazonMqBrokerLdapServerMetadataDetails withServiceAccountUsername(String serviceAccountUsername)
A username for the service account, which is an account in your LDAP server that has access to initiate a connection.
serviceAccountUsername
- A username for the service account, which is an account in your LDAP server that has access to initiate a
connection.public void setUserBase(String userBase)
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
userBase
- Selects a particular subtree of the directory information tree (DIT) to search for user entries.public String getUserBase()
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
public AwsAmazonMqBrokerLdapServerMetadataDetails withUserBase(String userBase)
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
userBase
- Selects a particular subtree of the directory information tree (DIT) to search for user entries.public void setUserRoleName(String userRoleName)
The name of the LDAP attribute in the user's directory entry for the user's group membership.
userRoleName
- The name of the LDAP attribute in the user's directory entry for the user's group membership.public String getUserRoleName()
The name of the LDAP attribute in the user's directory entry for the user's group membership.
public AwsAmazonMqBrokerLdapServerMetadataDetails withUserRoleName(String userRoleName)
The name of the LDAP attribute in the user's directory entry for the user's group membership.
userRoleName
- The name of the LDAP attribute in the user's directory entry for the user's group membership.public void setUserSearchMatching(String userSearchMatching)
The LDAP search filter used to find users within the userBase
.
userSearchMatching
- The LDAP search filter used to find users within the userBase
.public String getUserSearchMatching()
The LDAP search filter used to find users within the userBase
.
userBase
.public AwsAmazonMqBrokerLdapServerMetadataDetails withUserSearchMatching(String userSearchMatching)
The LDAP search filter used to find users within the userBase
.
userSearchMatching
- The LDAP search filter used to find users within the userBase
.public void setUserSearchSubtree(Boolean userSearchSubtree)
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
userSearchSubtree
- The directory search scope for the user. If set to true, the scope is to search the entire subtree.public Boolean getUserSearchSubtree()
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
public AwsAmazonMqBrokerLdapServerMetadataDetails withUserSearchSubtree(Boolean userSearchSubtree)
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
userSearchSubtree
- The directory search scope for the user. If set to true, the scope is to search the entire subtree.public Boolean isUserSearchSubtree()
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
public String toString()
toString
in class Object
Object.toString()
public AwsAmazonMqBrokerLdapServerMetadataDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.