/** * The identifier of the AWS Directory Service directory that the WorkSpace belongs to. * * @param directoryId The identifier of the AWS Directory Service directory that the WorkSpace * belongs to. * @return Returns a reference to this object so that method calls can be chained together. */ public Workspace withDirectoryId(String directoryId) { setDirectoryId(directoryId); return this; }