public DescribeDirectoriesRequest withDirectoryIds(java.util.Collection<String> directoryIds) {
        setDirectoryIds(directoryIds);
        return this;
    }
<p>
A list of identifiers of the directories for which to obtain the information. If this member is null, all
directories that belong to the current account are returned.
</p>
<p>
An empty list results in an <code>InvalidParameterException</code> being thrown.
</p>

@param directoryIds
       A list of identifiers of the directories for which to obtain the information. If this member is null, all
       directories that belong to the current account are returned.</p>
       <p>
       An empty list results in an <code>InvalidParameterException</code> being thrown.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/DescribeDirectoriesRequest.java