public DescribeDirectoryConfigsResult withDirectoryConfigs(DirectoryConfig... directoryConfigs) {
        if (this.directoryConfigs == null) {
            setDirectoryConfigs(new java.util.ArrayList<DirectoryConfig>(directoryConfigs.length));
        }
        for (DirectoryConfig ele : directoryConfigs) {
            this.directoryConfigs.add(ele);
        }
        return this;
    }
<p>
Information about the directory configurations. Note that although the response syntax in this topic includes the
account password, this password is not returned in the actual response.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDirectoryConfigs(java.util.Collection)} or {@link #withDirectoryConfigs(java.util.Collection)} if you
want to override the existing values.
</p>

@param directoryConfigs
       Information about the directory configurations. Note that although the response syntax in this topic
       includes the account password, this password is not returned in the actual response.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/DescribeDirectoryConfigsResult.java