public AwsAmazonMqBrokerDetails withLdapServerMetadata(AwsAmazonMqBrokerLdapServerMetadataDetails ldapServerMetadata) {
        setLdapServerMetadata(ldapServerMetadata);
        return this;
    }
<p>
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.
</p>

@param ldapServerMetadata
       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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsAmazonMqBrokerDetails.java