public AwsAmazonMqBrokerLdapServerMetadataDetails withRoleSearchSubtree(Boolean roleSearchSubtree) {
        setRoleSearchSubtree(roleSearchSubtree);
        return this;
    }
<p>
The directory search scope for the role. If set to <code>true</code>, the scope is to search the entire subtree.
</p>

@param roleSearchSubtree
       The directory search scope for the role. If set to <code>true</code>, the scope is to search the entire
       subtree.
@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/AwsAmazonMqBrokerLdapServerMetadataDetails.java