public WindowsFileSystemConfiguration withActiveDirectoryId(String activeDirectoryId) {
        setActiveDirectoryId(activeDirectoryId);
        return this;
    }
<p>
The ID for an existing Amazon Web Services Managed Microsoft Active Directory instance that the file system is
joined to.
</p>

@param activeDirectoryId
       The ID for an existing Amazon Web Services Managed Microsoft Active Directory instance that the file
       system is joined to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/WindowsFileSystemConfiguration.java